X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=CMakeLists.txt;h=b89990e0ecaba46096eb0bc0ef3b516e923954f9;hb=9527e223ea52af559498ca2984e844c024ed6997;hp=8deded9166da085bb94a1726d2732a3dfaaa204d;hpb=2421926e573603541ecb63b1d399a28b8c4b2a6c;p=bamtools.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 8deded9..b89990e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ ensure_out_of_source_build( " # set BamTools version information set( BamTools_VERSION_MAJOR 2 ) set( BamTools_VERSION_MINOR 1 ) -set( BamTools_VERSION_BUILD 0 ) +set( BamTools_VERSION_BUILD 1 ) # set our library and executable destination dirs set( EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin" ) @@ -41,6 +41,9 @@ set( LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/lib" ) # define compiler flags for all code set( CMAKE_BUILD_TYPE Release ) add_definitions( -Wall -D_FILE_OFFSET_BITS=64 ) +if( "${CMAKE_SYSTEM_NAME}" MATCHES "SunOS" ) + add_definitions( -DSUN_OS ) +endif() # add our includes root path include_directories( src )