CMake/Tests/VariableUnusedViaSet/CMakeLists.txt

5 lines
115 B
CMake
Raw Normal View History

set(UNUSED_VARIABLE)
# Warning should occur here
set(UNUSED_VARIABLE "Usage")
message(STATUS "${UNUSED_VARIABLE}")