CMake/Tests/VariableUnusedViaUnset/CMakeLists.txt

9 lines
309 B
CMake
Raw Normal View History

2010-09-16 21:51:51 +04:00
# 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:
2010-09-16 21:51:51 +04:00
set(UNUSED_VARIABLE)
# Warning should occur here:
set(UNUSED_VARIABLE)
message(STATUS "${UNUSED_VARIABLE}")