CMake/Tests/RunCMake/cmake_language/call_expand_function_name.cmake
Brad King 94c1e4fdb3 cmake_language: Rename command from cmake_command
Also rename the `INVOKE` signature to `CALL`.

Fixes: #20732
2020-05-21 13:36:52 -04:00

12 lines
188 B
CMake

function(some_function_1)
message(1)
endfunction()
function(some_function_2)
message(2)
endfunction()
set(function_version 1)
cmake_language(CALL some_function_${function_version})