Skip to content
Open
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
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ macro(opm-grid_prereqs_hook)
target_link_libraries(opmgrid PUBLIC opmcommon)
endif()

if(NOT ZOLTAN_FOUND AND MPI_C_FOUND AND REQUIRE_ZOLTAN)
if(NOT ZOLTAN_FOUND AND MPI_C_FOUND AND REQUIRE_ZOLTAN
AND NOT CMAKE_DISABLE_FIND_PACKAGE_ZOLTAN)
message(SEND_ERROR
"opm-grid with MPI support requires the package ZOLTAN. "
"Please install it (e.g. from http://www.cs.sandia.gov/zoltan/.)"
Expand Down