Skip to content

Commit

Permalink
Fix missing SIP_VERSION preprocessor macro
Browse files Browse the repository at this point in the history
Was breaking all #if SIP_VERSION checks - most importantly
preventing exitPython() from being called correctly on QGIS
exit.
  • Loading branch information
nyalldawson committed Feb 28, 2019
1 parent 885f47d commit 28df1b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindSIP.cmake
Expand Up @@ -56,3 +56,5 @@ ELSE(SIP_VERSION)
ENDIF(SIP_FOUND)

ENDIF(SIP_VERSION)

ADD_DEFINITIONS(-DSIP_VERSION=0x${SIP_VERSION})

0 comments on commit 28df1b4

Please sign in to comment.