Skip to content

Commit edc6239

Browse files
committed
Not needed to specify CMAKE_MACOSX_RPATH
As of CMake 3.0 with CMP0042, MACOSX_RPATH is enabled by default. Since the validated version used by jsoncpp is later than 3.0, this is already covered.
1 parent 5a0152a commit edc6239

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ option(JSONCPP_WITH_CMAKE_PACKAGE "Generate and install cmake package files" ON)
9595
option(JSONCPP_WITH_EXAMPLE "Compile JsonCpp example" OFF)
9696
option(BUILD_SHARED_LIBS "Build jsoncpp_lib as a shared library." OFF)
9797

98-
# Enable runtime search path support for dynamic libraries on OSX
99-
if(APPLE)
100-
set(CMAKE_MACOSX_RPATH 1)
101-
endif()
102-
10398
# Adhere to GNU filesystem layout conventions
10499
include(GNUInstallDirs)
105100

0 commit comments

Comments
 (0)