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
This commit is contained in:
Marc Chevrier
2020-10-07 17:38:28 +02:00
committed by Brad King
parent 2e53641d76
commit 2549dc7c93
11 changed files with 13 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1)
project(TestPyPy LANGUAGES NONE)
project(TestPyPy LANGUAGES C)
set (Python_FIND_IMPLEMENTATIONS PyPy)