From 476738511fa28f2bec66b2fe81c37914bdc49fa9 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Tue, 14 May 2024 16:40:46 +0200 Subject: [PATCH] CMake: Fix dll install location Signed-off-by: Julien Schueller --- CHANGELOG.md | 4 ++++ cmake/macros/SundialsAddLibrary.cmake | 2 +- doc/shared/RecentChanges.rst | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59ffc7a35d..0615b18f2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/cmake/macros/SundialsAddLibrary.cmake b/cmake/macros/SundialsAddLibrary.cmake index ca0d226191..51b1120cc1 100644 --- a/cmake/macros/SundialsAddLibrary.cmake +++ b/cmake/macros/SundialsAddLibrary.cmake @@ -355,7 +355,7 @@ 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) endif() diff --git a/doc/shared/RecentChanges.rst b/doc/shared/RecentChanges.rst index a6eef5064e..d6d4f2d78a 100644 --- a/doc/shared/RecentChanges.rst +++ b/doc/shared/RecentChanges.rst @@ -1,5 +1,9 @@ **New Features** +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