diff options
author | saturneric <[email protected]> | 2024-01-31 16:08:05 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-31 16:08:05 +0000 |
commit | a13966bd03be70d42029bc75075d4eea109a89a6 (patch) | |
tree | fc9e24011475cb1b76e206ee909f5771e5314196 | |
parent | fix: copy qt5 dlls at qt5 build mode (diff) | |
download | GpgFrontend-a13966bd03be70d42029bc75075d4eea109a89a6.tar.gz GpgFrontend-a13966bd03be70d42029bc75075d4eea109a89a6.zip |
fix: export spdlog dll to binary output path
-rw-r--r-- | src/core/CMakeLists.txt | 7 |
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 |