CMake/Tests/RunCMake/list/REMOVE_DUPLICATES-NotList.cmake
Brad King e5ca59b456 Tests: Move command failure cases into RunCMake infrastructure
Move failure cases from the CMake.{If,List,While,GetProperty} tests over
to the RunCMake.{if,list,while,get_property} tests to use the more
modern infrastructure.  This also avoids using REGEX_ESCAPE_STRING to
try to regex-match full paths.
2015-07-14 10:25:38 -04:00

3 lines
53 B
CMake

unset(nosuchlist)
list(REMOVE_DUPLICATES nosuchlist)