--- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,7 +6,7 @@ # ========================== add_subdirectory( api ) -add_subdirectory( third_party ) +# add_subdirectory( third_party ) add_subdirectory( toolkit ) add_subdirectory( utils ) --- a/src/third_party/CMakeLists.txt +++ b/src/third_party/CMakeLists.txt @@ -6,4 +6,4 @@ # ========================== # list third-party subdirectories to build in -add_subdirectory( jsoncpp ) +# add_subdirectory( jsoncpp ) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,8 @@ set( EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin" ) set( LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/lib" ) +SET(CMAKE_INSTALL_RPATH "/usr/lib/bamtools") + # define compiler flags for all code set( CMAKE_BUILD_TYPE Release ) add_definitions( -Wall -D_FILE_OFFSET_BITS=64 )