kig: rebuild for Python 3.9

This commit is contained in:
Andrew J. Hesford 2020-10-07 09:55:04 -04:00
parent 5d27db6839
commit 42137ac974
2 changed files with 3 additions and 3 deletions

View file

@ -30,12 +30,12 @@ index 229d2723..f0138bf4 100644
-find_package(BoostPython) -find_package(BoostPython)
+find_package(Boost) +find_package(Boost)
+find_package(PythonLibs 3.8) +find_package(PythonLibs 3.9)
+ +
+if(Boost_FOUND AND PYTHONLIBS_FOUND) +if(Boost_FOUND AND PYTHONLIBS_FOUND)
+ if(${Boost_VERSION} GREATER 106699) + if(${Boost_VERSION} GREATER 106699)
+ message("Searching for python boost") + message("Searching for python boost")
+ find_package(Boost COMPONENTS python38 REQUIRED) + find_package(Boost COMPONENTS python39 REQUIRED)
+ set(Boost_PYTHON_LIBRARY ${Boost_PYTHON38_LIBRARY}) + set(Boost_PYTHON_LIBRARY ${Boost_PYTHON38_LIBRARY})
+ else() + else()
+ find_package(Boost COMPONENTS python) + find_package(Boost COMPONENTS python)

View file

@ -1,7 +1,7 @@
# Template file for 'kig' # Template file for 'kig'
pkgname=kig pkgname=kig
version=20.08.1 version=20.08.1
revision=1 revision=2
build_style=cmake build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons kdoctools gettext hostmakedepends="extra-cmake-modules kcoreaddons kdoctools gettext
pkg-config qt5-host-tools qt5-qmake" pkg-config qt5-host-tools qt5-qmake"