diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-07-24 21:26:18 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-07-24 21:26:18 (GMT) |
commit | 13e674b61b895266afb49c444621516411852b77 (patch) | |
tree | 58426a3e2b54beb06bab34f522cc4d8228b10506 /Tests/Complex | |
parent | e43d97cb29cb6c4c4b949ec167c345069ecc7910 (diff) | |
download | CMake-13e674b61b895266afb49c444621516411852b77.zip CMake-13e674b61b895266afb49c444621516411852b77.tar.gz CMake-13e674b61b895266afb49c444621516411852b77.tar.bz2 |
Tests/Complex: Replace exec_program() with execute_process()
Diffstat (limited to 'Tests/Complex')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 9493a2f..d3a184d 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -327,12 +327,12 @@ if (WIN32) ${Complex_SOURCE_DIR}/Library/dummy "${dir}/${file}" COPYONLY) - exec_program(${CMAKE_COMMAND} ARGS "-E write_regv \"${hkey}\" \"${dir}\"") + execute_process(COMMAND ${CMAKE_COMMAND} -E write_regv "${hkey}" "${dir}") find_path(REGISTRY_TEST_PATH ${file} "[${hkey}]" DOC "Registry_Test_Path") - exec_program(${CMAKE_COMMAND} ARGS "-E delete_regv \"${hkey}\"") - exec_program(${CMAKE_COMMAND} ARGS "-E rm -f \"${dir}/${file}\"") + execute_process(COMMAND ${CMAKE_COMMAND} -E delete_regv "${hkey}") + execute_process(COMMAND ${CMAKE_COMMAND} -E rm -f "${dir}/${file}") endif () endif () |