Skip to content

Commit 28df1b4

Browse files
committedFeb 28, 2019
Fix missing SIP_VERSION preprocessor macro
Was breaking all #if SIP_VERSION checks - most importantly preventing exitPython() from being called correctly on QGIS exit.
1 parent 885f47d commit 28df1b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎cmake/FindSIP.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ ELSE(SIP_VERSION)
5656
ENDIF(SIP_FOUND)
5757

5858
ENDIF(SIP_VERSION)
59+
60+
ADD_DEFINITIONS(-DSIP_VERSION=0x${SIP_VERSION})

0 commit comments

Comments
 (0)
Please sign in to comment.