Commit f15a6792d382f7a9bf6d5c638417f2b436a144a9

Edward Thomson 2021-07-14T09:33:09

Merge pull request #5913 from lhchavez/python3 Make `FIND_PACKAGE(PythonInterp)` prefer `python3`

1
2
3
4
5
6
7
8
9
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4d8732d..600c617 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,3 +1,4 @@
+SET(Python_ADDITIONAL_VERSIONS 3 2.7)
 FIND_PACKAGE(PythonInterp)
 
 IF(NOT PYTHONINTERP_FOUND)