diff options
author | saturneric <[email protected]> | 2024-07-29 15:57:18 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 15:57:18 +0000 |
commit | 1981fb261fec18fe7e5671c0b3ac5fa9d31c6c6c (patch) | |
tree | 29f5bae1f6158ad497b9a8a21f7797c92b8e9356 /src/test | |
parent | fix: try to solve dependencies issues at app only build on windows (diff) | |
download | GpgFrontend-1981fb261fec18fe7e5671c0b3ac5fa9d31c6c6c.tar.gz GpgFrontend-1981fb261fec18fe7e5671c0b3ac5fa9d31c6c6c.zip |
fix: avoid using in-repo third parties libraries on windows at full sdk build
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index f052e7e2..79f17ac0 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -53,7 +53,8 @@ if(XCODE_BUILD) XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "${GPGFRONTEND_XOCDE_CODE_SIGN_IDENTITY}") endif() -if(MINGW) +# use system installed libraries or install it system wide +if(MINGW AND NOT STABLE_BUILD_FULL_SDK) set_target_properties(gtest PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}" |