aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-29 15:57:18 +0000
committersaturneric <[email protected]>2024-07-29 15:57:18 +0000
commit1981fb261fec18fe7e5671c0b3ac5fa9d31c6c6c (patch)
tree29f5bae1f6158ad497b9a8a21f7797c92b8e9356 /src/test
parentfix: try to solve dependencies issues at app only build on windows (diff)
downloadGpgFrontend-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.txt3
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}"