Skip to content

Commit 549e70c

Browse files
author
timlinux
committed
Fix search path for python on mac
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6643 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e738478 commit 549e70c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmake/Python.cmake

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ IF (PYTHON_LIBRARIES AND PYTHON_INCLUDE_PATH)
4949

5050
IF (APPLE)
5151
SET (SIP_MAC_PATH
52-
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/
53-
/System/Library/Frameworks/Python.framework/Versions/2.4/bin/
54-
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/)
52+
/System/Library/Frameworks/Python.framework/Versions/2.5/bin
53+
/System/Library/Frameworks/Python.framework/Versions/2.4/bin
54+
/System/Library/Frameworks/Python.framework/Versions/2.3/bin)
5555
ENDIF (APPLE)
5656

57-
FIND_PROGRAM (SIP_BINARY_PATH sip ${SIP_MAC_PATH})
57+
FIND_PROGRAM (SIP_BINARY_PATH sip PATHS ${SIP_MAC_PATH})
5858

5959
IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH)
6060
# check for SIP version

0 commit comments

Comments
 (0)