Limit CMake object file path length under Windows to fix building natively e.g. under MSYS2. Thx to @raphaelcoeffic for the tip: https://cmake.org/cmake/help/latest/variable/CMAKE_OBJECT_PATH_MAX.html
This commit is contained in:
@@ -4,3 +4,7 @@ if(APPLE)
|
||||
set(CMAKE_C_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations")
|
||||
set(CMAKE_CXX_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations")
|
||||
endif()
|
||||
|
||||
if(MINGW OR WIN32)
|
||||
set(CMAKE_OBJECT_PATH_MAX 200)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user