Commit Graph

3 Commits

Author SHA1 Message Date
Marc Chevrier fb0999c046 FindPython: Enable C language in tests that find the Development component
Since commit fb9e687867 (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
2020-10-07 12:01:43 -04:00
Marc Chevrier fb9e687867 FindPython: Tests optimizations
* Use 'project(... LANGUAGES NONE)' when possible
* enhance error messages wording
2020-10-01 17:51:16 +02:00
Marc Chevrier 74f6b9f980 FindPython: Add support for 'PyPy' 2020-05-01 15:03:04 +02:00