]> git.donarmstrong.com Git - bamtools.git/blob - debian/patches/cmake_fixup
update cmake fixup
[bamtools.git] / debian / patches / cmake_fixup
1 --- a/src/CMakeLists.txt
2 +++ b/src/CMakeLists.txt
3 @@ -6,7 +6,7 @@
4  # ==========================
5  
6  add_subdirectory( api )
7 -add_subdirectory( third_party )
8 +# add_subdirectory( third_party )
9  add_subdirectory( toolkit )
10  add_subdirectory( utils )
11  
12 --- a/src/third_party/CMakeLists.txt
13 +++ b/src/third_party/CMakeLists.txt
14 @@ -6,4 +6,4 @@
15  # ==========================
16  
17  # list third-party subdirectories to build in
18 -add_subdirectory( jsoncpp )
19 +# add_subdirectory( jsoncpp )
20 --- a/CMakeLists.txt
21 +++ b/CMakeLists.txt
22 @@ -38,6 +38,8 @@
23  set( EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin" )
24  set( LIBRARY_OUTPUT_PATH    "${CMAKE_SOURCE_DIR}/lib" )
25  
26 +SET(CMAKE_INSTALL_RPATH "/usr/lib/bamtools")
27 +
28  # define compiler flags for all code
29  set( CMAKE_BUILD_TYPE Release )
30  add_definitions( -Wall -D_FILE_OFFSET_BITS=64 )