Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix gui bindings with SIP 4.15
  • Loading branch information
jef-n committed Sep 24, 2013
1 parent 17e9999 commit d27ad33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/CMakeLists.txt
Expand Up @@ -95,6 +95,12 @@ INCLUDE_DIRECTORIES(
FILE(GLOB_RECURSE sip_files_gui gui/*.sip)
SET(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_gui})
SET(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a ${CMAKE_BINARY_DIR}/python/qgis.gui.api)

IF(UNIX AND NOT SIP_VERSION_NUM LESS 265984)
SET(SIP_EXTRA_OPTIONS -P ${SIP_EXTRA_OPTIONS})
ADD_DEFINITIONS(-Dprotected=public)
ENDIF(UNIX AND NOT SIP_VERSION_NUM LESS 265984)

ADD_SIP_PYTHON_MODULE(qgis.gui gui/gui.sip qgis_core qgis_gui)

# additional analysis includes
Expand Down

0 comments on commit d27ad33

Please sign in to comment.