diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt index 925eab04a..987ac3252 100644 --- a/Tests/LoadCommand/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeLists.txt @@ -7,7 +7,7 @@ SET (TEST_COMMAND_TEST1 1) TRY_COMPILE(COMPILE_OK ${LoadedCommand_BINARY_DIR}/CMakeCommands ${LoadedCommand_SOURCE_DIR}/CMakeCommands - CMAKE_LOADED_COMMANDS cmCMAKE_TEST_COMMAND) + CMAKE_LOADED_COMMANDS) # if the compile was OK, try loading the command IF (COMPILE_OK) diff --git a/Tests/LoadCommandOneConfig/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeLists.txt index 925eab04a..987ac3252 100644 --- a/Tests/LoadCommandOneConfig/CMakeLists.txt +++ b/Tests/LoadCommandOneConfig/CMakeLists.txt @@ -7,7 +7,7 @@ SET (TEST_COMMAND_TEST1 1) TRY_COMPILE(COMPILE_OK ${LoadedCommand_BINARY_DIR}/CMakeCommands ${LoadedCommand_SOURCE_DIR}/CMakeCommands - CMAKE_LOADED_COMMANDS cmCMAKE_TEST_COMMAND) + CMAKE_LOADED_COMMANDS) # if the compile was OK, try loading the command IF (COMPILE_OK)