Users of the new target_compile_features command are expected to check the existence of the CMAKE_CXX_COMPILE_FEATURES variable before attempting to use it to require features.
5 lines
91 B
CMake
5 lines
91 B
CMake
|
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/features.txt"
|
|
"${CMAKE_CXX_COMPILE_FEATURES}"
|
|
)
|