aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-31 16:08:05 +0000
committersaturneric <[email protected]>2024-01-31 16:08:05 +0000
commita13966bd03be70d42029bc75075d4eea109a89a6 (patch)
treefc9e24011475cb1b76e206ee909f5771e5314196
parentfix: copy qt5 dlls at qt5 build mode (diff)
downloadGpgFrontend-a13966bd03be70d42029bc75075d4eea109a89a6.tar.gz
GpgFrontend-a13966bd03be70d42029bc75075d4eea109a89a6.zip
fix: export spdlog dll to binary output path
-rw-r--r--src/core/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index b5dd3571..bf64d15a 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -74,6 +74,13 @@ endif ()
# spdlog
target_link_libraries(gpgfrontend_core PRIVATE spdlog)
+if(MINGW)
+ set_target_properties(spdlog
+ PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"
+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"
+ )
+endif()
# configure libarchive