Skip to content

Commit

Permalink
Fix search path for python on mac
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6643 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 20, 2007
1 parent b470a8e commit 515917c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/Python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ IF (PYTHON_LIBRARIES AND PYTHON_INCLUDE_PATH)

IF (APPLE)
SET (SIP_MAC_PATH
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/
/System/Library/Frameworks/Python.framework/Versions/2.4/bin/
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/)
/System/Library/Frameworks/Python.framework/Versions/2.5/bin
/System/Library/Frameworks/Python.framework/Versions/2.4/bin
/System/Library/Frameworks/Python.framework/Versions/2.3/bin)
ENDIF (APPLE)

FIND_PROGRAM (SIP_BINARY_PATH sip ${SIP_MAC_PATH})
FIND_PROGRAM (SIP_BINARY_PATH sip PATHS ${SIP_MAC_PATH})

IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH)
# check for SIP version
Expand Down

0 comments on commit 515917c

Please sign in to comment.