Skip to content

Commit

Permalink
klu
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 11, 2023
1 parent 44d1db7 commit a7150ff
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions deps/AMICI/cmake/AmiciConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ find_package(KLU REQUIRED)

if(NOT TARGET SUNDIALS::KLU)
add_library(SUNDIALS::KLU INTERFACE IMPORTED)
target_link_libraries(
SUNDIALS::KLU
INTERFACE "${KLU_STATIC}"
INTERFACE "${COLAMD_STATIC}"
INTERFACE "${BTF_STATIC}"
INTERFACE "${AMD_STATIC}"
INTERFACE "${SUITESPARSE_CONFIG_STATIC}")
set_target_properties(SUNDIALS::KLU PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
"${KLU_INCLUDE_DIR}")
endif()
target_link_libraries(
SUNDIALS::KLU
INTERFACE "${KLU_STATIC}"
INTERFACE "${COLAMD_STATIC}"
INTERFACE "${BTF_STATIC}"
INTERFACE "${AMD_STATIC}"
INTERFACE "${SUITESPARSE_CONFIG_STATIC}")
set_target_properties(SUNDIALS::KLU PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
"${KLU_INCLUDE_DIR}")

find_package(SUNDIALS REQUIRED PATHS
"@CMAKE_SOURCE_DIR@/ThirdParty/sundials/build/@CMAKE_INSTALL_LIBDIR@/cmake/sundials/")
Expand Down

0 comments on commit a7150ff

Please sign in to comment.