]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add ARKode to FindSUNDIALS.
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 26 Sep 2017 14:45:36 +0000 (16:45 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Wed, 27 Sep 2017 12:34:41 +0000 (14:34 +0200)
cmake/modules/FindSUNDIALS.cmake

index e493a7de8f0faf85f732c6c100f399f1cad0053c..cad258d87e678c02f0bd3462a28ebb5078fb65c2 100644 (file)
@@ -19,6 +19,7 @@
 # This module exports
 #
 #   SUNDIALS_LIB_IDA
+#   SUNDIALS_LIB_ARKODE
 #   SUNDIALS_LIB_KINSOL
 #   SUNDIALS_LIB_PAR
 #   SUNDIALS_LIB_SER
@@ -42,6 +43,11 @@ DEAL_II_FIND_LIBRARY(SUNDIALS_LIB_IDA NAMES sundials_ida
   PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
   )
 
+DEAL_II_FIND_LIBRARY(SUNDIALS_LIB_ARKODE NAMES sundials_arkode
+  HINTS ${SUNDIALS_DIR}
+  PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
+  )
+
 DEAL_II_FIND_LIBRARY(SUNDIALS_LIB_KINSOL NAMES sundials_kinsol
   HINTS ${SUNDIALS_DIR}
   PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
@@ -77,11 +83,11 @@ ENDIF()
 
 DEAL_II_PACKAGE_HANDLE(SUNDIALS
   LIBRARIES REQUIRED
-    SUNDIALS_LIB_IDA SUNDIALS_LIB_KINSOL SUNDIALS_LIB_SER SUNDIALS_LIB_PAR
+    SUNDIALS_LIB_IDA SUNDIALS_LIB_ARKODE SUNDIALS_LIB_KINSOL SUNDIALS_LIB_SER SUNDIALS_LIB_PAR
     ${_sundials_additional_libs}
   INCLUDE_DIRS REQUIRED SUNDIALS_INCLUDE_DIR
   USER_INCLUDE_DIRS REQUIRED SUNDIALS_INCLUDE_DIR
   CLEAR
-    SUNDIALS_LIB_IDA SUNDIALS_LIB_KINSOL SUNDIALS_LIB_SER SUNDIALS_LIB_PAR
-    SUN_INC
+    SUNDIALS_LIB_IDA SUNDIALS_LIB_ARKODE SUNDIALS_LIB_KINSOL 
+    SUNDIALS_LIB_SER SUNDIALS_LIB_PAR SUN_INC
   )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.