Selaa lähdekoodia

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.
Craig Scott 5 vuotta sitten
vanhempi
sitoutus
09c38e8de6

+ 1 - 2
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()

+ 1 - 2
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()

+ 1 - 2
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()

+ 1 - 2
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()