1 # ==========================
2 # BamTools CMakeLists.txt
3 # (c) 2010 Derek Barnett
5 # src/third-party/jsoncpp
6 # ==========================
8 # add compiler definitions
9 add_definitions(-DBAMTOOLS_JSONCPP_LIBRARY) # (for proper exporting of library symbols)
10 add_definitions( -fPIC ) # (attempt to force PIC compiling on CentOS, not being set on shared libs by CMake)
12 # create jsoncpp library
13 add_library ( jsoncpp SHARED
19 # set jsoncpp library properties
20 set_target_properties( jsoncpp PROPERTIES