Skip to content

Commit

Permalink
update cmake handling of rpath on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Jul 28, 2015
1 parent 0bf33c1 commit 3a89c99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ check_function_exists("symlink" HAVE_SYMLINK)


set(CMAKE_SKIP_BUILD_RPATH FALSE)
if(APPLE)
set(CMAKE_MACOSX_RPATH ON)
endif()
set(CMAKE_LINK_INTERFACE_LIBRARY "")

file(GLOB mapcache_SOURCES lib/*.c )
Expand Down

0 comments on commit 3a89c99

Please sign in to comment.