summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-31 15:20:01 -0400
committerBrad King <brad.king@kitware.com>2017-04-03 10:45:03 -0400
commitc2c22862287971035157fb732faf925df7832dbb (patch)
tree42cd9504294544f70b90f8be89f6967bcaa0b240 /Tests/CMakeTests/GetPrerequisitesTest.cmake.in
parentc791fb12544926bc5870a61735dc2ec62940a6f6 (diff)
downloadcmake-c2c22862287971035157fb732faf925df7832dbb.tar.gz
Tests: Fix CMake.GetPrerequisites test config message
Since commit v2.8.11~239^2~1 (ProcessorCount test: fix path to cmsysTestsCxx executable, 2013-01-24) we accidentally printed a literal `${CTEST_CONFIGURATION_TYPE}` instead of the actual build configuration. Update the message to use a generator expression to get the real build configuration used.
Diffstat (limited to 'Tests/CMakeTests/GetPrerequisitesTest.cmake.in')
-rw-r--r--Tests/CMakeTests/GetPrerequisitesTest.cmake.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/Tests/CMakeTests/GetPrerequisitesTest.cmake.in b/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
index 89ca735d3f..7325b879d9 100644
--- a/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
+++ b/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
@@ -2,18 +2,15 @@
#
include(GetPrerequisites)
-set(CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@")
-set(CMAKE_CONFIGURATION_TYPES "@CMAKE_CONFIGURATION_TYPES@")
set(CMAKE_EXECUTABLE_SUFFIX "@CMAKE_EXECUTABLE_SUFFIX@")
message(STATUS "=============================================================================")
message(STATUS "CTEST_FULL_OUTPUT (Avoid ctest truncation of output)")
message(STATUS "")
-message(STATUS "CMAKE_BUILD_TYPE='${CMAKE_BUILD_TYPE}'")
-message(STATUS "CMAKE_CONFIGURATION_TYPES='${CMAKE_CONFIGURATION_TYPES}'")
+message(STATUS "Configuration '${Configuration}'")
+message(STATUS "CMAKE_COMMAND='${CMAKE_COMMAND}'")
message(STATUS "CMAKE_EXECUTABLE_SUFFIX='${CMAKE_EXECUTABLE_SUFFIX}'")
-message(STATUS "CTEST_CONFIGURATION_TYPE='${CTEST_CONFIGURATION_TYPE}'")
message(STATUS "")