MACRO(FEATURE_PARALUTION_CONFIGURE_EXTERNAL)
- SET(PARALUTION_ADD_TO_USER_INCLUDE_DIRS TRUE)
- REGISTER_FEATURE(PARALUTION)
-
SET(DEAL_II_EXPAND_PARALUTION_VECTOR_FLOAT "ParalutionWrappers::Vector<float>")
SET(DEAL_II_EXPAND_PARALUTION_VECTOR_DOUBLE "ParalutionWrappers::Vector<double>")
#
# This module exports
#
-# PARALUTION_INCLUDE_DIRS
-# PARALUTION_LIBRARIES
+# PARALUTION_INCLUDE_DIR
+# PARALUTION_LIBRARY
# PARALUTION_VERSION
# PARALUTION_VERSION_MAJOR
# PARALUTION_VERSION_MINOR
)
IF(PARALUTION_FOUND)
- SET(PARALUTION_INCLUDE_DIRS
+ SET(PARALUTION_INCLUDE_DIR
${PARALUTION_INCLUDE_DIR}
)
- SET(PARALUTION_LIBRARIES
+ SET(PARALUTION_LIBRARY
${PARALUTION_LIBRARY}
)
FILE(STRINGS "${PARALUTION_INCLUDE_DIR}/base/version.hpp" PARALUTION_VERSION_MAJOR_STRING
"An optional hint to a paralution directory"
)
ENDIF()
+
+DEAL_II_PACKAGE_HANDLE(PARALUTION
+ LIBRARIES
+ REQUIRED PARALUTION_LIBRARY
+ INCLUDE_DIRS
+ REQUIRED PARALUTION_INCLUDE_DIR
+ USER_INCLUDE_DIRS
+ REQUIRED PARALUTION_INCLUDE_DIR
+ CLEAR
+ PARALUTION_LIBRARY PARALUTION_INCLUDE_DIR
+ )