aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-29 20:47:38 +0000
committersaturneric <[email protected]>2024-07-29 20:47:38 +0000
commit85518ec23b841b6270908cf49ebeaa2bcd879cc2 (patch)
tree4ddece920dd7a52a6f26cf63921049b3306d7528 /src/test
parentfeat: update modules (diff)
downloadGpgFrontend-85518ec23b841b6270908cf49ebeaa2bcd879cc2.tar.gz
GpgFrontend-85518ec23b841b6270908cf49ebeaa2bcd879cc2.zip
fix: should add find package GTest
Diffstat (limited to 'src/test')
-rw-r--r--src/test/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
index db5d0561..53c99f11 100644
--- a/src/test/CMakeLists.txt
+++ b/src/test/CMakeLists.txt
@@ -39,8 +39,7 @@ generate_export_header(gpgfrontend_test EXPORT_FILE_NAME "${_export_file}")
target_compile_definitions(gpgfrontend_test PUBLIC GF_TEST)
# link options
-target_link_libraries(gpgfrontend_test PRIVATE gtest)
-
+target_link_libraries(gpgfrontend_test PRIVATE GTest::gtest)
target_link_libraries(gpgfrontend_test PRIVATE gpgfrontend_core)
if(XCODE_BUILD)