From 6c6b3b7042883768e231928cf29e6c3eb61568b3 Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Sat, 31 Dec 2022 07:48:00 +0000 Subject: [PATCH] cmake : add runtime destination install (#345) needed for mingw32 build to successfully install the dlls in the correct location --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 60cfd4d932f..49056df07a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -223,6 +223,7 @@ target_compile_definitions(${TARGET} PUBLIC install(TARGETS ${TARGET} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib/static + RUNTIME DESTINATION bin ) #