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)
(cherry picked from commit dee5ecb)
  • Loading branch information
nyalldawson committed Mar 7, 2019
1 parent c1691ac commit 1e2f13d
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_FOUND)


ENDIF(SIP_VERSION) ENDIF(SIP_VERSION)

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

0 comments on commit 1e2f13d

Please sign in to comment.