summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/list/REMOVE_AT-NotList.cmake
blob: 090df4933735877d7d300658b9829efad21491d6 (plain)
1
2
3
4
5
6
unset(nosuchlist)
list(REMOVE_AT nosuchlist 0)
if (DEFINED nosuchlist)
  message(FATAL_ERROR
      "list(REMOVE_AT) created our list")
endif ()