Skip to content

Commit

Permalink
Refs #10840. return to 10.8 deployment target. change id on libqsqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsteve committed Jan 23, 2015
1 parent 1c159e3 commit c11ba62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Code/Mantid/Build/CMake/DarwinSetup.cmake
Expand Up @@ -126,6 +126,10 @@ if (OSX_VERSION VERSION_LESS 10.9)
else()
set(CMAKE_MACOSX_RPATH 1)
# Assume we are using homebrew for now
# set Deployment target to 10.8
set ( CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk )
set ( CMAKE_OSX_ARCHITECTURES x86_64 )
set ( CMAKE_OSX_DEPLOYMENT_TARGET 10.8 )
# Follow symlinks so cmake copies the file
set ( PYQT4_PATH /usr/local/lib/python${PY_VER}/site-packages/PyQt4 )
execute_process(COMMAND readlink ${PYQT4_PATH}/Qt.so OUTPUT_VARIABLE PYQT4_SYMLINK_Qtso)
Expand Down
1 change: 1 addition & 0 deletions Code/Mantid/MantidPlot/make_package.rb
Expand Up @@ -97,6 +97,7 @@
`install_name_tool -change /usr/local/lib/QtCore.framework/Versions/4/QtCore @loader_path/../Frameworks/QtCore.framework/Versions/4/QtCore Contents/MacOS/libqscintilla2.11.dylib`

`install_name_tool -change /usr/local/lib/QtCore.framework/Versions/4/QtCore @loader_path/../Frameworks/QtCore.framework/Versions/4/QtCore Contents/MacOS/libqscintilla2.11.dylib`
`install_name_tool -id @rpath/libqsqlite.dylib Contents/Frameworks/plugins/sqldrivers/libqsqlite.dylib`

#change id of all Qt4 imageformats libraries
qt4_patterns = ["**/imageformats/*.dylib"]
Expand Down

0 comments on commit c11ba62

Please sign in to comment.