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.

(cherry picked from commit 28df1b4)
  • Loading branch information
nyalldawson committed Mar 5, 2019
1 parent 6e1b91f commit efd1377
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 efd1377

Please sign in to comment.