Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Fix boost dynamic libraries build on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Dec 4, 2013
1 parent 7c1807c commit b138072
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions cmake/schemes/url_sha1_boost_library.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,18 @@ ExternalProject_Add(
${build_opts}
install
)

if(APPLE)
find_package(PythonInterp 3.2 REQUIRED)
ExternalProject_Add_Step(
@HUNTER_PACKAGE_NAME@_@HUNTER_PACKAGE_BOOST_LIBRARY@
FixDylibId
COMMAND
${PYTHON_EXECUTABLE}
"@HUNTER_ROOT@/scripts/fix-boost-dylib-id.py"
"--install-dir"
"@HUNTER_PACKAGE_INSTALL_DIR@/lib"
DEPENDEES
install
)
endif()

0 comments on commit b138072

Please sign in to comment.