X-Git-Url: https://git.donarmstrong.com/?p=bamtools.git;a=blobdiff_plain;f=src%2Fthird_party%2Fjsoncpp%2FCMakeLists.txt;h=8dc64e43c8cf6aef092b750af337d91ade2dd104;hp=03c091b2197c2aab7bd70c9661cd6019ac376d29;hb=9cfa70bfe9cdf1b6adc06beb88246b45fdd6250a;hpb=153d8f44a0ae6aebd0323289d961e5c00ea2b212 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" )