Skip to content

Commit

Permalink
Add rpath config for casadi directory
Browse files Browse the repository at this point in the history
Co-Authored-By: Martin Robinson <[email protected]>
  • Loading branch information
agriyakhetarpal and martinjrobins committed Sep 6, 2023
1 parent b51bea7 commit 378eed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ find_package(SUNDIALS REQUIRED)
message("sundials ${SUNDIALS_INCLUDE_DIR} ${SUNDIALS_LIBRARIES}")
target_include_directories(idaklu PRIVATE ${SUNDIALS_INCLUDE_DIR})
target_link_libraries(idaklu PRIVATE ${SUNDIALS_LIBRARIES} casadi)
set_property(TARGET idaklu APPEND PROPERTY INSTALL_RPATH "${CASADI_DIR}")

# link suitesparse
# if using vcpkg, use config mode to
Expand Down

0 comments on commit 378eed1

Please sign in to comment.