aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-12 13:18:34 +0000
committersaturneric <[email protected]>2024-07-12 13:18:34 +0000
commitbc52ba74b461145212c999f4c2435125768f24ef (patch)
treeb64b4df69c2760091aa518da0f0b0e084b99c968 /src/test
parentfeat: improve the project structure (diff)
downloadGpgFrontend-bc52ba74b461145212c999f4c2435125768f24ef.tar.gz
GpgFrontend-bc52ba74b461145212c999f4c2435125768f24ef.zip
feat: adjust modules loading path
Diffstat (limited to 'src/test')
-rw-r--r--src/test/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
index f23cc928..221483dc 100644
--- a/src/test/CMakeLists.txt
+++ b/src/test/CMakeLists.txt
@@ -55,4 +55,11 @@ if(MINGW)
)
endif()
+if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
+ # lib output path
+ set_target_properties(gpgfrontend_test PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib
+ RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib)
+endif()
+
add_test(AllTestsInGpgFrontend gpgfrontend_test)