summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Akulich <akulichalexander@gmail.com>2019-11-07 02:19:34 +0300
committerAlexander Akulich <akulichalexander@gmail.com>2019-11-07 02:19:34 +0300
commit66693db41a0380e064a23dab41fe0f06cdd71933 (patch)
tree6e5611b59b6ed1e2f196286cddfb916c5e8986f2
parent8d8eeeef66686e5c49541f95889f8ddeeb39db67 (diff)
CMake: Use Python3 find module only since CMake-3.15
The new (Python3) module still doesn't work well in some enviroments.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a9c7fde..64e40089 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,7 +144,7 @@ add_feature_info("Qt GLib support" QT_GLIB_SUPPORT
set(CMAKE_REQUIRED_FLAGS "")
# Find python version >= 3
-if(${CMAKE_VERSION} VERSION_LESS 3.12)
+if(${CMAKE_VERSION} VERSION_LESS 3.15)
find_package(PythonInterp 3 REQUIRED)
set_package_properties(PythonInterp PROPERTIES
DESCRIPTION "Python Interpreter"