diff --git a/CHANGELOG b/CHANGELOG index 13fa4616c4..52886c14a6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -151,6 +151,8 @@ Build system ### Cmake +- fix SCIP Optimization Suite build with -DSYM=bliss and bliss being downloaded and build during configuration by cmake + ### Makefile Miscellaneous diff --git a/CMakeLists.txt b/CMakeLists.txt index 26df996dc5..ef7e468954 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,10 +165,10 @@ if(SYM STREQUAL "bliss" OR SYM STREQUAL "sbliss") if (NOT Bliss_FOUND) message(FATAL_ERROR "Automatic download of Bliss failed. Please specify the BLISS_DIR.") endif() - include_directories(${CMAKE_CURRENT_BINARY_DIR}/_deps/local/include) - set(SYM_LIBRARIES ${CMAKE_CURRENT_BINARY_DIR}/_deps/local/lib/libbliss.a) - set(SYM_PIC_LIBRARIES ${CMAKE_CURRENT_BINARY_DIR}/_deps/local/lib/libbliss.a) - message(STATUS "Installed Bliss in: ${CMAKE_CURRENT_BINARY_DIR}/_deps/local") + include_directories(${CMAKE_BINARY_DIR}/_deps/local/include) + set(SYM_LIBRARIES ${CMAKE_BINARY_DIR}/_deps/local/lib/libbliss.a) + set(SYM_PIC_LIBRARIES ${CMAKE_BINARY_DIR}/_deps/local/lib/libbliss.a) + message(STATUS "Installed Bliss in: ${CMAKE_BINARY_DIR}/_deps/local") endif() elseif(SYM STREQUAL "nauty" OR SYM STREQUAL "snauty") if(NAUTY_DIR)