summaryrefslogtreecommitdiff
path: root/Tests/VariableUnusedViaUnset/CMakeLists.txt
blob: 4b4031da3f91c26ab23bcc62c47d418dccaecb53 (plain)
1
2
3
4
5
6
7
8
# 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}")