From 63cc5743ca97f22e2246a1a5e381bb7f8a79d256 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Tue, 23 Mar 2021 13:26:08 +0800 Subject: [PATCH] fix(windows): remove windows build path warning GitOrigin-RevId: d6e255b7dc3c82b5389bded2b1dcf6d07f9d2da2 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a5da30fd..02d1eb74e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,6 +165,7 @@ endif() if(MSVC OR WIN32) # for cmake after 3.15.2 cmake_policy(SET CMP0091 NEW) + set(CMAKE_OBJECT_PATH_MAX 300) if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDebug") else() -- GitLab