[extra-cmake-modules/v5.38.0-rc2] find-modules: Fix python bindings compilation after 7af93dd23873d0b9cdbac192949e7e5114940aa6
l10n daemon script
null at kde.org
Sun Sep 3 18:34:36 UTC 2017
Git commit 9078a00906e247b92659b710778ddeed9b259bca by l10n daemon script, on behalf of Antonio Rojas.
Committed on 03/09/2017 at 18:34.
Pushed by dfaure into tag 'v5.38.0-rc2'.
Fix python bindings compilation after 7af93dd23873d0b9cdbac192949e7e5114940aa6
Explicitely set LIBRARY_OUTPUT_DIRECTORY for the python module
Differential Revision: https://phabricator.kde.org/D7677
CCMAIL: release-team at kde.org
(cherry picked from commit 8b4033f16c2ae07c57364cde62c21bd0e75539c3)
M +2 -1 find-modules/FindPythonModuleGeneration.cmake
https://commits.kde.org/extra-cmake-modules/9078a00906e247b92659b710778ddeed9b259bca
diff --git a/find-modules/FindPythonModuleGeneration.cmake b/find-modules/FindPythonModuleGeneration.cmake
index 684678b..31cc52d 100644
--- a/find-modules/FindPythonModuleGeneration.cmake
+++ b/find-modules/FindPythonModuleGeneration.cmake
@@ -440,8 +440,9 @@ headers = sipAPI${modulename_value}
set_property(TARGET Py${pyversion}KF5${modulename_value} PROPERTY AUTOMOC OFF)
set_property(TARGET Py${pyversion}KF5${modulename_value} PROPERTY PREFIX "")
+ set_property(TARGET Py${pyversion}KF5${modulename_value} PROPERTY LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/py${pyversion}/${pythonnamespace_value}")
set_property(TARGET Py${pyversion}KF5${modulename_value} PROPERTY
- OUTPUT_NAME "${CMAKE_BINARY_DIR}/py${pyversion}/${pythonnamespace_value}/${modulename_value}")
+ OUTPUT_NAME "${modulename_value}")
if (GPB_SIP_DEPENDS MATCHES PyKF5)
set(_kf5_python_prefix ${CMAKE_INSTALL_PREFIX}/lib/python${pyversion${pyversion}_maj_min}/${GPB_INSTALL_DIR_SUFFIX})
More information about the release-team
mailing list