File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ IF (PYTHON_LIBRARIES AND PYTHON_INCLUDE_PATH)
63
63
64
64
IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
65
65
# check for SIP version
66
- # minimal version is 4.5
67
- SET (SIP_MIN_VERSION 040500 )
66
+ # minimal version is 4.7 (to support universal builds)
67
+ SET (SIP_MIN_VERSION 040700 )
68
68
TRY_RUN_PYTHON (RES "import sip\n print '%x' % sip.SIP_VERSION" SIP_VERSION)
69
69
IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION} " OR SIP_VERSION GREATER "${SIP_MIN_VERSION} " )
70
70
SET (SIP_IS_GOOD TRUE )
71
71
ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION} " OR SIP_VERSION GREATER "${SIP_MIN_VERSION} " )
72
72
73
73
IF (NOT SIP_IS_GOOD)
74
- MESSAGE (STATUS "SIP is required in version 4.5 or later!" )
74
+ MESSAGE (STATUS "SIP is required in version 4.7 or later!" )
75
75
ENDIF (NOT SIP_IS_GOOD)
76
76
ELSE (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
77
77
IF (NOT HAVE_SIP_MODULE)
You can’t perform that action at this time.
0 commit comments