diff options
author | saturneric <[email protected]> | 2024-07-29 15:46:21 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 15:46:21 +0000 |
commit | 05095b162abbbda90b87059767cbb1416ac469d4 (patch) | |
tree | d501b75ca2a716e82fc5c9765c23b8b54dcf3a67 /third_party | |
parent | fix: first three actions on menubar not clickable (diff) | |
download | GpgFrontend-05095b162abbbda90b87059767cbb1416ac469d4.tar.gz GpgFrontend-05095b162abbbda90b87059767cbb1416ac469d4.zip |
fix: try to solve dependencies issues at app only build on windows
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index f6658eb1..876cf46d 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -26,7 +26,8 @@ # json set(JSON_BuildTests OFF CACHE INTERNAL "") -if(MINGW) +# full sdk build on windows will use system installed libarchive +if(MINGW AND NOT STABLE_BUILD_FULL_SDK) add_subdirectory(libarchive EXCLUDE_FROM_ALL) endif() @@ -53,5 +54,8 @@ if(NOT APPLE) add_subdirectory(mimalloc EXCLUDE_FROM_ALL) endif() -set(INSTALL_GTEST OFF) -add_subdirectory(googletest EXCLUDE_FROM_ALL)
\ No newline at end of file +# full sdk build on windows will use system installed gtest +if(NOT STABLE_BUILD_FULL_SDK AND NOT MINGW) + set(INSTALL_GTEST OFF) + add_subdirectory(googletest EXCLUDE_FROM_ALL) +endif()
\ No newline at end of file |