Skip to content

Commit

Permalink
updated the CMakeLists.txt to actually add SUPERLUMT, KLU, and/or LAP…
Browse files Browse the repository at this point in the history
…ACK examples if sundials was built with one or more of them; also adds necessary targets with each of the TPLs
  • Loading branch information
shahbajsohal committed Jul 18, 2023
1 parent e23f15b commit c7a62fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/kinsol/serial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ if(EXAMPLES_INSTALL)

if(BUILD_SUNLINSOL_SUPERLUMT)
set(_include_sunlinsolsuperlumt sunlinsolsuperlumt)
list(APPEND KINSOL_examples
"kinRoboKin_slu.c\; \"\" \;develop"
)
set(SUPERLUMT_TARGET SUNDIALS::SUPERLUMT)
endif()

if(BUILD_SUNLINSOL_KLU)
Expand All @@ -243,6 +247,8 @@ if(EXAMPLES_INSTALL)
${_include_sunlinsolklu}
${_include_sundials_sunlinsollapackband}
${_include_sundials_sunlinsollapackdense}
OTHER_TARGETS
${SUPERLUMT_TARGET}
DESTINATION
kinsol/serial
EXTRA_FILES
Expand Down

0 comments on commit c7a62fe

Please sign in to comment.