We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d31a530 commit ee34ac1Copy full SHA for ee34ac1
src/lib_json/CMakeLists.txt
@@ -73,6 +73,7 @@ IF(BUILD_SHARED_LIBS)
73
SET_TARGET_PROPERTIES( jsoncpp_lib PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_SOVERSION})
74
SET_TARGET_PROPERTIES( jsoncpp_lib PROPERTIES OUTPUT_NAME jsoncpp
75
DEBUG_OUTPUT_NAME jsoncpp${DEBUG_LIBNAME_SUFFIX} )
76
+ SET_TARGET_PROPERTIES( jsoncpp_lib PROPERTIES POSITION_INDEPENDENT_CODE ON)
77
78
# Set library's runtime search path on OSX
79
IF(APPLE)
0 commit comments