mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
FindPython: add capability to select python version for the tests
This commit is contained in:
@@ -62,7 +62,7 @@ set_tests_properties(FindPython.CustomFailureMessage.Multiple PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "Reason given by package:.+Interpreter: Cannot run the interpreter.+Development: Cannot find the library")
|
||||
|
||||
|
||||
if (CMake_TEST_FindPython_NumPy)
|
||||
if (CMake_TEST_FindPython3_NumPy)
|
||||
add_test(NAME FindPython.CustomFailureMessage.NumPy COMMAND
|
||||
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
|
||||
--build-and-test
|
||||
|
||||
Reference in New Issue
Block a user