mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2025-08-05 21:04:28 +02:00
fix: pass correctly underlying lib to intg tests
This commit is contained in:
@@ -111,8 +111,8 @@ target_link_libraries(sdbus-c++-unit-tests sdbus-c++-objlib GTest::gmock)
|
|||||||
add_executable(sdbus-c++-integration-tests ${INTEGRATIONTESTS_SRCS})
|
add_executable(sdbus-c++-integration-tests ${INTEGRATIONTESTS_SRCS})
|
||||||
target_compile_definitions(sdbus-c++-integration-tests PRIVATE
|
target_compile_definitions(sdbus-c++-integration-tests PRIVATE
|
||||||
LIBSYSTEMD_VERSION=${SDBUSCPP_LIBSYSTEMD_VERSION}
|
LIBSYSTEMD_VERSION=${SDBUSCPP_LIBSYSTEMD_VERSION}
|
||||||
SDBUS_${LIBSYSTEMD})
|
SDBUS_${LIBSYSTEMD_IMPL})
|
||||||
if(NOT LIBSYSTEMD STREQUAL "basu")
|
if(NOT LIBSYSTEMD_IMPL STREQUAL "basu")
|
||||||
# Systemd::Libsystemd is included because integration tests use sd-event. Otherwise sdbus-c++ encapsulates and hides libsystemd.
|
# 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)
|
target_link_libraries(sdbus-c++-integration-tests sdbus-c++ Systemd::Libsystemd GTest::gmock)
|
||||||
else()
|
else()
|
||||||
|
Reference in New Issue
Block a user