From 66693db41a0380e064a23dab41fe0f06cdd71933 Mon Sep 17 00:00:00 2001 From: Alexander Akulich Date: Thu, 7 Nov 2019 02:19:34 +0300 Subject: CMake: Use Python3 find module only since CMake-3.15 The new (Python3) module still doesn't work well in some enviroments. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3