mirror of
https://github.com/reactos/CMake.git
synced 2025-01-08 20:21:34 +00: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()
|