From 869caba42c44cb25ed43513e3b6cab79e39ce8ab Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Mon, 9 Oct 2023 22:42:35 +0200 Subject: [PATCH] Install the runtime file, too This makes sure the shared library, which is built when compiling with the BUILD_SHARED_LIBS flag, is installed. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a14f59..1b3c321 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -256,6 +256,7 @@ install( EXPORT "${CPPDAP_TARGETS_EXPORT_NAME}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" INCLUDES DESTINATION "${CPPDAP_INCLUDE_INSTALL_DIR}" )