mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
7 lines
172 B
CMake
7 lines
172 B
CMake
set(thelist "" NEW OLD)
|
|
|
|
list(GET thelist 1 thevalue)
|
|
if (NOT thevalue STREQUAL "OLD")
|
|
message(SEND_ERROR "returned element '${thevalue}', but expected 'OLD'")
|
|
endif()
|