diff --git a/cmake/config.cmake b/cmake/config.cmake index c9105f8c..6c36a433 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -22,14 +22,14 @@ if( SC_USE_INTERNAL_ZLIB ) include( ${CMAKE_CURRENT_LIST_DIR}/zlib.cmake ) else() find_package( ZLIB ) - + if( NOT ZLIB_FOUND ) set( SC_USE_INTERNAL_ZLIB ON ) message( STATUS "Using internal zlib" ) include( ${CMAKE_CURRENT_LIST_DIR}/zlib.cmake ) else() set(CMAKE_REQUIRED_LIBRARIES ZLIB::ZLIB) - + check_c_source_compiles( "#include int main(){ diff --git a/doc/release_notes.txt b/doc/release_notes.txt index 6f6145be..b565f0f9 100644 --- a/doc/release_notes.txt +++ b/doc/release_notes.txt @@ -23,6 +23,7 @@ ### Build system - Streamline CMake configuration + - Make sure to use SC_ENABLE_* CMake variables - Adapt CMake CI to matrix of latest compilers ## 2.8.6