Skip to content

Commit 3a89c99

Browse files
committed
update cmake handling of rpath on mac
1 parent 0bf33c1 commit 3a89c99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ check_function_exists("symlink" HAVE_SYMLINK)
6161

6262

6363
set(CMAKE_SKIP_BUILD_RPATH FALSE)
64+
if(APPLE)
65+
set(CMAKE_MACOSX_RPATH ON)
66+
endif()
6467
set(CMAKE_LINK_INTERFACE_LIBRARY "")
6568

6669
file(GLOB mapcache_SOURCES lib/*.c )

0 commit comments

Comments
 (0)