CMake/Tests/VariableUnusedViaUnset/CMakeLists.txt
2010-09-17 10:04:18 -04:00

9 lines
309 B
CMake

# NOTE: Changing lines in here changes the test results since the first
# instance shouldn't warn, but the second should and they have the same message
# A warning should NOT be issued for this line:
set(UNUSED_VARIABLE)
# Warning should occur here:
set(UNUSED_VARIABLE)
message(STATUS "${UNUSED_VARIABLE}")