Skip to content

Commit

Permalink
Add missing sip magic
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 19, 2018
1 parent 6b0ea16 commit b2072d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/CMakeLists.txt
Expand Up @@ -168,6 +168,12 @@ IF(${SIP_VERSION_STR} VERSION_GREATER 4.19.6)
SET(DOCSTRINGSTEMPLATE "")
ENDIF(${SIP_VERSION_STR} VERSION_GREATER 4.19.6)

IF(${SIP_VERSION_STR} VERSION_GREATER 4.19.0)
SET(SIP_FINAL "final")
ELSE(${SIP_VERSION_STR} VERSION_GREATER 4.19.0)
SET(SIP_FINAL "override")
ENDIF(${SIP_VERSION_STR} VERSION_GREATER 4.19.0)

# core module
FILE(GLOB_RECURSE sip_files_core core/*.sip core/*.sip.in)
SET(SIP_EXTRA_FILES_DEPEND ${sip_files_core})
Expand Down

0 comments on commit b2072d8

Please sign in to comment.