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.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 714960b..4f3b601 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -95,11 +95,6 @@
option(JSONCPP_WITH_EXAMPLE "Compile JsonCpp example" OFF)
option(BUILD_SHARED_LIBS "Build jsoncpp_lib as a shared library." OFF)
-# Enable runtime search path support for dynamic libraries on OSX
-if(APPLE)
- set(CMAKE_MACOSX_RPATH 1)
-endif()
-
# Adhere to GNU filesystem layout conventions
include(GNUInstallDirs)