telepathy-qt: CMake: Use Python3 find module only since CMake-3.15
Alexandr Akulich
kaffeine at kemper.freedesktop.org
Mon Nov 11 17:28:14 UTC 2019
Module: telepathy-qt
Branch: master
Commit: 66693db41a0380e064a23dab41fe0f06cdd71933
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=66693db41a0380e064a23dab41fe0f06cdd71933
Author: Alexander Akulich <akulichalexander at gmail.com>
Date: Thu Nov 7 02:19:34 2019 +0300
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"
More information about the telepathy-commits
mailing list