cmake/Tests/RunCMake/list/REVERSE-NotList.cmake

7 lines
136 B
CMake
Raw Normal View History

2013-03-16 19:13:01 +02:00
unset(nosuchlist)
list(REVERSE nosuchlist)
2019-11-11 23:01:05 +01:00
if (DEFINED nosuchlist)
message(FATAL_ERROR
"list(REVERSE) created our list")
endif ()