summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/ExactVersion/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: On Windows, Enhance python debug version supportMarc Chevrier2024-05-091-1/+1
| | | | | | | | | | | | | | Add the following variables: * Python_EXECUTABLE_DEBUG * Python_INTERPRETER * Python_DEBUG_POSTFIX and target Python::InterpreterDebug. python_add_library() command Manage DEBUG_POSTFIX target property based on the value of Python_DEBUG_POSTFIX variable. Fixes: #25874
* Tests: Bump CMake minimum required version in find-module tests to 3.5Brad King2023-03-081-1/+1
| | | | | CMake 3.27 deprecates compatibility with CMake < 3.5. Update find module tests to avoid the deprecation warning.
* FindPython: Enable C language in tests that find the Development componentMarc Chevrier2020-10-071-1/+1
| | | | | | | | | | | 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
* FindPython: Tests optimizationsMarc Chevrier2020-10-011-18/+18
| | | | | * Use 'project(... LANGUAGES NONE)' when possible * enhance error messages wording
* FindPython: ensure any specified version is correctly handledMarc Chevrier2020-05-071-0/+56
Fixes: #20674