Skip to content
Permalink
Browse files

fix gui bindings with SIP 4.15

  • Loading branch information
jef-n committed Sep 23, 2013
1 parent 17e9999 commit d27ad33cc38ef7617a304e50d30298e903058c5c
Showing with 6 additions and 0 deletions.
  1. +6 −0 python/CMakeLists.txt
@@ -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

0 comments on commit d27ad33

Please sign in to comment.
You can’t perform that action at this time.