summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--Source/CMakeLists.txt5
2 files changed, 4 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6bac837..14179ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -430,3 +430,7 @@ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/Templates/CTestScript.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/CTestScript.cmake"
@ONLY IMMEDIATE)
+ADD_TEST(SystemInformationNew
+ "${EXECUTABLE_OUTPUT_PATH}/cmake" --system-information
+ )
+
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index bcb4f76..44d50da 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -505,11 +505,6 @@ IF(BUILD_TESTING)
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--test-command DumpInformation)
- ADD_TEST(SystemInformationNew
- ${CMAKE_CMAKE_COMMAND} -E chdir "${CMake_BINARY_DIR}"
- "${CMAKE_CMAKE_COMMAND}" --system-information
- )
-
ADD_TEST(StringFileTest ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/StringFileTest"