X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fthird_party%2Fjsoncpp%2FCMakeLists.txt;h=8dc64e43c8cf6aef092b750af337d91ade2dd104;hb=2126ee0d204be8293df9492b48bce076a41a2a25;hp=03c091b2197c2aab7bd70c9661cd6019ac376d29;hpb=75ebabf8071379eaec8349f6708dfb2567d289c6;p=bamtools.git diff --git a/src/third_party/jsoncpp/CMakeLists.txt b/src/third_party/jsoncpp/CMakeLists.txt index 03c091b..8dc64e4 100644 --- a/src/third_party/jsoncpp/CMakeLists.txt +++ b/src/third_party/jsoncpp/CMakeLists.txt @@ -10,7 +10,7 @@ add_definitions( -DBAMTOOLS_JSONCPP_LIBRARY ) # (for proper exporting of library 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 +add_library( jsoncpp STATIC json_reader.cpp json_value.cpp json_writer.cpp @@ -18,6 +18,6 @@ add_library( jsoncpp SHARED # set jsoncpp library properties set_target_properties( jsoncpp PROPERTIES - SOVERSION 1.0.0 OUTPUT_NAME jsoncpp + PREFIX "lib" )