mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
This port was originally created by Pedro Giffuni. He offered me to take over it. I updated it to 3.1.0, added many options, etc. The option FCMIX is broken upstream, so it is not present in the port. Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D13647
22 lines
654 B
Text
22 lines
654 B
Text
--- src/arkode/CMakeLists.txt.orig 2017-11-07 23:47:45 UTC
|
|
+++ src/arkode/CMakeLists.txt
|
|
@@ -112,6 +112,19 @@ IF(BUILD_SHARED_LIBS)
|
|
TARGET_LINK_LIBRARIES(sundials_arkode_shared m)
|
|
ENDIF()
|
|
|
|
+
|
|
+ IF(UNIX)
|
|
+ TARGET_LINK_LIBRARIES(sundials_arkode_shared m)
|
|
+ ENDIF()
|
|
+
|
|
+ IF(LAPACK_FOUND)
|
|
+ TARGET_LINK_LIBRARIES(sundials_arkode_shared ${LAPACK_LIBRARIES})
|
|
+ ENDIF()
|
|
+
|
|
+ IF(KLU_FOUND)
|
|
+ TARGET_LINK_LIBRARIES(sundials_arkode_shared ${KLU_LIBRARIES})
|
|
+ ENDIF ()
|
|
+
|
|
# Set the library name and make sure it is not deleted
|
|
SET_TARGET_PROPERTIES(sundials_arkode_shared
|
|
PROPERTIES OUTPUT_NAME sundials_arkode CLEAN_DIRECT_OUTPUT 1)
|