mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
6 lines
159 B
CMake
6 lines
159 B
CMake
set(mylist "b;c;b;a;a;c;b;a;c;b")
|
|
list(REMOVE_DUPLICATES mylist)
|
|
if(NOT mylist STREQUAL "b;c;a")
|
|
message(SEND_ERROR "Expected b;c;a, got ${mylist}")
|
|
endif()
|