summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/separate_arguments/PlainCommand.cmake
blob: 311a99378c06ab0730c4d87b310806effe63c242 (plain)
1
2
3
4
5
6
7
8
set(old_out "a b  c")
separate_arguments(old_out)
set(old_exp "a;b;;c")

if(NOT "${old_out}" STREQUAL "${old_exp}")
  message(FATAL_ERROR "separate_arguments old-style failed.  "
    "Expected\n  [${old_exp}]\nbut got\n  [${old_out}]\n")
endif()