CMake/Tests/RunCMake/WriteCompilerDetectionHeader/InvalidFeature.cmake

11 lines
201 B
CMake

include(WriteCompilerDetectionHeader)
write_compiler_detection_header(
FILE "${CMAKE_CURRENT_BINARY_DIR}/somefile"
PREFIX PREF_
COMPILERS GNU
FEATURES not_a_feature
VERSION 3.1
)