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:
@@ -7,6 +7,10 @@ set(VERSION_MINOR "8")
|
||||
set(VERSION_REVISION "0")
|
||||
set(CODENAME "dev")
|
||||
|
||||
if(MINGW OR WIN32)
|
||||
set(CMAKE_OBJECT_PATH_MAX 200)
|
||||
endif()
|
||||
|
||||
if(DEFINED ENV{EDGETX_VERSION_TAG})
|
||||
set(VERSION_TAG "$ENV{EDGETX_VERSION_TAG}")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user