Fix tests link with library in cmake
This commit is contained in:
parent
5874783d37
commit
a4a5df3f27
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue