]> git.donarmstrong.com Git - bamtools.git/blobdiff - CMakeLists.txt
Regression fixed: wasn't properly merging from multiple BAMs
[bamtools.git] / CMakeLists.txt
index 65c450b82cbcbb6b622e5a165ae7f291c10aada1..31bc9806969270a47d412bb8fc70f6ccc68b1691 100644 (file)
@@ -30,7 +30,7 @@ ensure_out_of_source_build ("
 (or the Windows equivalent)\n")
 
 # set BamTools version information
-set (BamTools_VERSION_MAJOR 1)
+set (BamTools_VERSION_MAJOR 2)
 set (BamTools_VERSION_MINOR 0)
 set (BamTools_VERSION_BUILD 2)
 
@@ -39,7 +39,8 @@ set (EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin")
 set (LIBRARY_OUTPUT_PATH    "${CMAKE_SOURCE_DIR}/lib")
 
 # define compiler flags for all code
-add_definitions (-Wall -O2 -D_FILE_OFFSET_BITS=64)
+set (CMAKE_BUILD_TYPE Release)
+add_definitions (-Wall -D_FILE_OFFSET_BITS=64)
 
 # add our includes root path
 include_directories (src)