summaryrefslogtreecommitdiff
path: root/Tests/FindPython/Python2
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-06-05 13:08:52 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2019-06-24 12:00:21 +0200
commit9201908ca5c10a6142c0558401445320773f1f1e (patch)
tree8f1889628d8c87e50d259931b08a40596bbd92a0 /Tests/FindPython/Python2
parent512013e276e66551c19c12af01336f96c26965a5 (diff)
downloadcmake-9201908ca5c10a6142c0558401445320773f1f1e.tar.gz
FindPython: add Python_FIND_ABI hint.
This variable will enable to specify will ABIs will be searched.
Diffstat (limited to 'Tests/FindPython/Python2')
-rw-r--r--Tests/FindPython/Python2/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/FindPython/Python2/CMakeLists.txt b/Tests/FindPython/Python2/CMakeLists.txt
index 274745a6e9..cf77ca2407 100644
--- a/Tests/FindPython/Python2/CMakeLists.txt
+++ b/Tests/FindPython/Python2/CMakeLists.txt
@@ -34,4 +34,5 @@ add_test (NAME python2_spam2
add_test(NAME findpython2_script
COMMAND "${CMAKE_COMMAND}" -DPYTHON_PACKAGE_NAME=Python2
+ -DPython2_FIND_STRATEGY=${Python2_FIND_STRATEGY}
-P "${CMAKE_CURRENT_LIST_DIR}/../FindPythonScript.cmake")