We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 17e9999 commit d27ad33Copy full SHA for d27ad33
python/CMakeLists.txt
@@ -95,6 +95,12 @@ INCLUDE_DIRECTORIES(
95
FILE(GLOB_RECURSE sip_files_gui gui/*.sip)
96
SET(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_gui})
97
SET(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a ${CMAKE_BINARY_DIR}/python/qgis.gui.api)
98
+
99
+IF(UNIX AND NOT SIP_VERSION_NUM LESS 265984)
100
+ SET(SIP_EXTRA_OPTIONS -P ${SIP_EXTRA_OPTIONS})
101
+ ADD_DEFINITIONS(-Dprotected=public)
102
+ENDIF(UNIX AND NOT SIP_VERSION_NUM LESS 265984)
103
104
ADD_SIP_PYTHON_MODULE(qgis.gui gui/gui.sip qgis_core qgis_gui)
105
106
# additional analysis includes
0 commit comments