Skip to content

Commit

Permalink
Merge pull request #1 from chrisdembia/cmake-macosx-rpath
Browse files Browse the repository at this point in the history
Fix RPATH for OSX.
  • Loading branch information
klshrinidhi committed Jan 16, 2016
2 parents f1f6461 + 24f9367 commit ae0d2a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ SET(BTK_LIBRARY_VERSION_STRING "${BTK_VERSION_MAJOR}.${BTK_VERSION_MINOR}")
# Using the configuration "Always full RPATH"
# from http://www.cmake.org/Wiki/CMake_RPATH_handling
# --------------------------
# To silence warning for policy CMP0042.
SET(CMAKE_MACOSX_RPATH ON)
# use, i.e. don't skip the full RPATH for the build tree
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
# when building, don't use the install RPATH already
Expand Down

0 comments on commit ae0d2a4

Please sign in to comment.