Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,16 @@ include(FindPkgConfig)
if(NOT TARGET BML::bml)
find_package(BML CONFIG QUIET)
endif()
#append libraries twice to resolve issues with libraries list order
if(TARGET BML::bml)
message(STATUS "Found bml: BML::bml")
list(APPEND LINK_LIBRARIES BML::bml)
list(APPEND LINK_LIBRARIES BML::bml)
else()
pkg_check_modules(BML REQUIRED bml)
message(STATUS "Found bml: ${BML_LDFLAGS}")
list(APPEND LINK_LIBRARIES ${BML_LDFLAGS})
list(APPEND LINK_LIBRARIES ${BML_LDFLAGS})
endif()

set(PROGRESS_GRAPHLIB FALSE CACHE BOOL "Compile with externel graph libraries")
Expand Down Expand Up @@ -149,6 +152,7 @@ else()
message(STATUS "Will not build with OpenMP")
endif()


set(PROGRESS_MPI FALSE CACHE BOOL "Compile with MPI support")
if(PROGRESS_MPI)
message(STATUS "Will build with MPI")
Expand Down