X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Futils%2FCMakeLists.txt;h=46e72352ef1005f4c8b2a3f4a2bb00442e2d2f13;hb=9f1ce8c47aeadb6dc1320b52ee671c3341b97935;hp=f93835bb97ead4fb1531ed3facef6cf4c3819097;hpb=4c9d2fdc9c556713531bdd2f25ce49685ab218e9;p=bamtools.git diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt index f93835b..46e7235 100644 --- a/src/utils/CMakeLists.txt +++ b/src/utils/CMakeLists.txt @@ -9,7 +9,8 @@ include_directories (${BamTools_SOURCE_DIR}/src/api) # add compiler definitions -#add_definitions(-DBAMTOOLS_UTILS_LIBRARY) # (for proper exporting of library symbols) +add_definitions(-DBAMTOOLS_UTILS_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 BamTools utils library add_library ( BamTools-utils SHARED @@ -24,6 +25,6 @@ target_link_libraries ( BamTools-utils BamTools ) # set BamTools library properties set_target_properties( BamTools-utils PROPERTIES - SOVERSION 0.9.0 + SOVERSION 2.0.0 OUTPUT_NAME bamtools-utils )