From 4c35e986682fe54018c6782cbe325070d4b3cedb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Angelovi=C4=8D?= Date: Sun, 18 Feb 2024 18:44:15 +0100 Subject: [PATCH] fix: pass correctly underlying lib to intg tests --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4681b97..ffb6d36 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -111,8 +111,8 @@ target_link_libraries(sdbus-c++-unit-tests sdbus-c++-objlib GTest::gmock) add_executable(sdbus-c++-integration-tests ${INTEGRATIONTESTS_SRCS}) target_compile_definitions(sdbus-c++-integration-tests PRIVATE LIBSYSTEMD_VERSION=${SDBUSCPP_LIBSYSTEMD_VERSION} - SDBUS_${LIBSYSTEMD}) -if(NOT LIBSYSTEMD STREQUAL "basu") + SDBUS_${LIBSYSTEMD_IMPL}) +if(NOT LIBSYSTEMD_IMPL STREQUAL "basu") # Systemd::Libsystemd is included because integration tests use sd-event. Otherwise sdbus-c++ encapsulates and hides libsystemd. target_link_libraries(sdbus-c++-integration-tests sdbus-c++ Systemd::Libsystemd GTest::gmock) else()