diff options
author | Saturneric <[email protected]> | 2022-05-07 17:51:34 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-07 17:59:17 +0000 |
commit | 90f853bd9bae903c0bc71a385d04131fcecd28a8 (patch) | |
tree | 72f4034711855ef5eee402e7a747a5a4c2f5b8cd /CMakeLists.txt | |
parent | feat: use gnupg from brew (diff) | |
download | GpgFrontend-90f853bd9bae903c0bc71a385d04131fcecd28a8.tar.gz GpgFrontend-90f853bd9bae903c0bc71a385d04131fcecd28a8.zip |
fix: add GenerateExportHeader for all platfrom
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bfc156f..7c865569 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,6 +265,9 @@ message(STATUS "GpgFrontend Build Timestamp ${BUILD_TIMESTAMP}") message(STATUS "GpgFrontend Build Version ${BUILD_VERSION}") message(STATUS "GpgFrontend Git Repo Version ${GIT_VERSION}") +# support for dymatic libraries +include (GenerateExportHeader) + # Windows IF (MINGW) message(STATUS "GpgFrontend Configuration For OS Platform Microsoft Windows") @@ -273,8 +276,6 @@ IF (MINGW) set(OS_PLATFORM 0) add_definitions(-DWINDOWS) - include (GenerateExportHeader) - set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) |