mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-07 09:48:03 +01:00
Consolidate setting of jsoncpp target properties
This commit is contained in:
parent
a3afd74b80
commit
c648b0378a
@ -81,11 +81,13 @@ if(BUILD_SHARED_LIBS)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
add_library(jsoncpp_lib ${PUBLIC_HEADERS} ${jsoncpp_sources})
|
add_library(jsoncpp_lib ${PUBLIC_HEADERS} ${jsoncpp_sources})
|
||||||
set_target_properties(jsoncpp_lib PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_SOVERSION})
|
set_target_properties( jsoncpp_lib PROPERTIES
|
||||||
set_target_properties(jsoncpp_lib PROPERTIES OUTPUT_NAME jsoncpp)
|
OUTPUT_NAME jsoncpp
|
||||||
set_target_properties(jsoncpp_lib PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
VERSION ${JSONCPP_VERSION}
|
||||||
|
SOVERSION ${JSONCPP_SOVERSION}
|
||||||
|
POSITION_INDEPENDENT_CODE ON
|
||||||
|
)
|
||||||
|
|
||||||
# Set library's runtime search path on OSX
|
# Set library's runtime search path on OSX
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user