summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-06-24 11:56:26 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-06-24 11:56:26 (GMT)
commit09c38e8de6dd862eb73dbd047253f70ae27aaa24 (patch)
tree25c2aed187682d098833201462a3ea718879b4a6 /Tests/RunCMake
parent1f47a65c7ac1b09f013543d2bd2ca38d2502f3a1 (diff)
downloadCMake-09c38e8de6dd862eb73dbd047253f70ae27aaa24.zip
CMake-09c38e8de6dd862eb73dbd047253f70ae27aaa24.tar.gz
CMake-09c38e8de6dd862eb73dbd047253f70ae27aaa24.tar.bz2
Tests: Don't ask for things not required for GoogleTest
The test cases only need C or C++, but not both. The CTest module is also not needed because we are not running a dashboard script.
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/GoogleTest/GoogleTest.cmake3
-rw-r--r--Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake3
-rw-r--r--Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTimeout.cmake3
-rw-r--r--Tests/RunCMake/GoogleTest/GoogleTestXML.cmake3
4 files changed, 4 insertions, 8 deletions
diff --git a/Tests/RunCMake/GoogleTest/GoogleTest.cmake b/Tests/RunCMake/GoogleTest/GoogleTest.cmake
index fca292a..6aa2658 100644
--- a/Tests/RunCMake/GoogleTest/GoogleTest.cmake
+++ b/Tests/RunCMake/GoogleTest/GoogleTest.cmake
@@ -1,5 +1,4 @@
-project(test_include_dirs)
-include(CTest)
+project(test_include_dirs LANGUAGES CXX)
include(GoogleTest)
enable_testing()
diff --git a/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake b/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake
index 1919dc1..df784fe 100644
--- a/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake
+++ b/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake
@@ -1,5 +1,4 @@
-project(test_include_dirs)
-include(CTest)
+project(test_include_dirs LANGUAGES CXX)
include(GoogleTest)
enable_testing()
diff --git a/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTimeout.cmake b/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTimeout.cmake
index 7398faf..20e9d65 100644
--- a/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTimeout.cmake
+++ b/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTimeout.cmake
@@ -1,5 +1,4 @@
-project(test_include_dirs)
-include(CTest)
+project(test_include_dirs LANGUAGES CXX)
include(GoogleTest)
enable_testing()
diff --git a/Tests/RunCMake/GoogleTest/GoogleTestXML.cmake b/Tests/RunCMake/GoogleTest/GoogleTestXML.cmake
index c86de63..29bd05e 100644
--- a/Tests/RunCMake/GoogleTest/GoogleTestXML.cmake
+++ b/Tests/RunCMake/GoogleTest/GoogleTestXML.cmake
@@ -1,5 +1,4 @@
-project(test_include_dirs)
-include(CTest)
+project(test_include_dirs LANGUAGES CXX)
include(GoogleTest)
enable_testing()