Brad King
bd7b2293aa
Tests: Bump CMake minimum required version in find-module tests to 3.5
...
CMake 3.27 deprecates compatibility with CMake < 3.5.
Update find module tests to avoid the deprecation warning.
2023-03-08 15:41:43 -05:00
Marc Chevrier
5537ccd814
FindPython: Tests optimizations
...
* Use 'project(... LANGUAGES NONE)' when possible
* enhance error messages wording
2020-10-01 17:51:16 +02:00
Marc Chevrier
d2c47c822b
FindPython: Add capability to specify Python implementations
...
Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an
ordered list, which implementations must be searched for.
Currently possible values are:
* CPython
* IronPython
2020-04-28 13:56:18 +02:00
Marc Chevrier
f39da773ee
FindPython: fix python compiler validation
...
Ensure also the cache of properties is erased in case of multiple
searches.
Fixes : #20626 , #20627
2020-04-23 17:47:22 +02:00