From a4a5df3f27919eaa47fc449a11d48052e6f2237a Mon Sep 17 00:00:00 2001 From: sha512sum Date: Tue, 27 Aug 2024 10:09:34 +0000 Subject: [PATCH] Fix tests link with library in cmake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 798affc..1fce9b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ if(ENABLE_TESTS) target_sources(larra_xmpp_tests PUBLIC FILE_SET tests TYPE CXX_MODULES FILES ${SOURCES}) target_link_libraries(larra_xmpp_tests GTest::gtest_main - xmpp_client_lib) + larra_xmpp) set_property(TARGET larra_xmpp_tests PROPERTY CXX_STANDARD 23) include(GoogleTest) gtest_discover_tests(larra_xmpp_tests)