Skip to content

Commit

Permalink
CMake: Fix dll install location
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 14, 2024
1 parent fe94036 commit 75092ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Changes to SUNDIALS in release X.Y.Z

Fixed the runtime library installation path for windows systems. This fix changes the
default library installation path from ``CMAKE_INSTALL_PREFIX/CMAKE_INSTALL_LIBDIR`` to
``CMAKE_INSTALL_PREFIX/CMAKE_INSTALL_BINDIR``.

Created shared user interface for ARKODE user-callable routines, to allow more
uniform control over time-stepping algorithms, improved extensibility, and
simplified code maintenance. Marked the corresponding stepper-specific
Expand Down
6 changes: 5 additions & 1 deletion cmake/macros/SundialsAddLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,11 @@ macro(sundials_add_library target)
endif()

# install phase
install(TARGETS ${_actual_target_name} DESTINATION ${CMAKE_INSTALL_LIBDIR} EXPORT sundials-targets)
install(TARGETS ${_actual_target_name}
EXPORT sundials-targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

endif()

Expand Down

0 comments on commit 75092ef

Please sign in to comment.