summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/RequiredArtifacts
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-10-07 15:38:28 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-07 16:01:43 (GMT)
commit2549dc7c9388120961c1be4b869fa6847f49eb55 (patch)
treef00288623a9e5cd821e167dbf3bbd8c0ea332977 /Tests/FindPython/RequiredArtifacts
parent2e53641d7693a702bbc03ea84f51a137987af4ed (diff)
downloadCMake-2549dc7c9388120961c1be4b869fa6847f49eb55.zip
CMake-2549dc7c9388120961c1be4b869fa6847f49eb55.tar.gz
CMake-2549dc7c9388120961c1be4b869fa6847f49eb55.tar.bz2
FindPython: Enable C language in tests that find the Development component
Since commit 5537ccd814 (FindPython: Tests optimizations, 2020-10-01) some FindPython tests fail because the Development component cannot be found without knowing `CMAKE_LIBRARY_ARCHITECTURE`. Enable at least one language in each of these test cases to get that value. This is consistent with use in practice because the Development component does not make much sense without a language to compile sources anyway. Fixes: #21277
Diffstat (limited to 'Tests/FindPython/RequiredArtifacts')
-rw-r--r--Tests/FindPython/RequiredArtifacts/CMakeLists.txt2
-rw-r--r--Tests/FindPython/RequiredArtifacts/Check/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindPython/RequiredArtifacts/CMakeLists.txt b/Tests/FindPython/RequiredArtifacts/CMakeLists.txt
index 6e854e3..ae50f32 100644
--- a/Tests/FindPython/RequiredArtifacts/CMakeLists.txt
+++ b/Tests/FindPython/RequiredArtifacts/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1)
-project(TestRequiredArtifacts LANGUAGES NONE)
+project(TestRequiredArtifacts LANGUAGES C)
include(CTest)
diff --git a/Tests/FindPython/RequiredArtifacts/Check/CMakeLists.txt b/Tests/FindPython/RequiredArtifacts/Check/CMakeLists.txt
index 036407f..287cfdb 100644
--- a/Tests/FindPython/RequiredArtifacts/Check/CMakeLists.txt
+++ b/Tests/FindPython/RequiredArtifacts/Check/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1)
-project(TestRequiredArtifacts.Check LANGUAGES NONE)
+project(TestRequiredArtifacts.Check LANGUAGES C)
set (components)
if (CHECK_INTERPRETER)