X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fthird_party%2Fjsoncpp%2FCMakeLists.txt;h=8dc64e43c8cf6aef092b750af337d91ade2dd104;hb=9cfa70bfe9cdf1b6adc06beb88246b45fdd6250a;hp=9cc442ad9968f35359a8d884ec0408fba6f4e340;hpb=36187632f41f7f995580c35657ceaeaf2c47aa7a;p=bamtools.git diff --git a/src/third_party/jsoncpp/CMakeLists.txt b/src/third_party/jsoncpp/CMakeLists.txt index 9cc442a..8dc64e4 100644 --- a/src/third_party/jsoncpp/CMakeLists.txt +++ b/src/third_party/jsoncpp/CMakeLists.txt @@ -6,18 +6,18 @@ # ========================== # add compiler definitions -add_definitions(-DBAMTOOLS_JSONCPP_LIBRARY) # (for proper exporting of library symbols) +add_definitions( -DBAMTOOLS_JSONCPP_LIBRARY ) # (for proper exporting of library symbols) add_definitions( -fPIC ) # (attempt to force PIC compiling on CentOS, not being set on shared libs by CMake) # create jsoncpp library -add_library ( jsoncpp SHARED - json_reader.cpp - json_value.cpp - json_writer.cpp - ) +add_library( jsoncpp STATIC + json_reader.cpp + json_value.cpp + json_writer.cpp + ) # set jsoncpp library properties set_target_properties( jsoncpp PROPERTIES - SOVERSION 1.0.0 OUTPUT_NAME jsoncpp + PREFIX "lib" )