diff --git a/cmake/modules/FindSuperLU.cmake b/cmake/modules/FindSuperLU.cmake index 28f4e4560bfc5930912e588f876e607d858c0ec8..4c96e4aaabf20527610f7399a65d9b27c14808b1 100644 --- a/cmake/modules/FindSuperLU.cmake +++ b/cmake/modules/FindSuperLU.cmake @@ -139,4 +139,6 @@ if(SUPERLU_FOUND) foreach(dir ${SUPERLU_INCLUDE_DIRS}) set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}") endforeach() + set_property(GLOBAL APPEND PROPERTY + ALL_PKG_LIBS "${SUPERLU_DUNE_LIBRARIES}") endif()