CMake/Tests/RunCMake/cmake_language/call_expanded_command.cmake
Brad King 4f33f3dcff cmake_language(CALL): Accept empty ${var} expansions
Factor out an internal helper.  Generalize partial argument expansion
and call the helper on a clean boundary between raw arguments.
2020-09-29 10:00:24 -04:00

7 lines
101 B
CMake

function (itsok)
message(OK!)
endfunction()
set (cmd CALL itsok)
cmake_language (${empty} ${cmd})