Closed
Description
When configuring the project using a recent version of CMake (tested with 3.3.1 and 3.3.2), lots of errors are reported.
> cmake .. -G "Visual Studio 12 Win64"
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_FLAGS_DEBUGOPT
This error is repeated maybe 30 times, then it alternates:
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_EXE_LINKER_FLAGS_DEBUGOPT
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_FLAGS_DEBUGOPT
The project seems to build fine following this. The issue is that when using the project through CMake's ExternalProject_Add, where these errors are treated like compile errors and fail any dependent projects.
Metadata
Metadata
Assignees
Labels
No labels