mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-20 14:10:40 +02:00
cmake: Install dbus-daemon-launch-helper even if tests are disabled
This is a long-standing bug, spotted while moving test code into the test directory. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
0d9e031361
commit
6ce7f5dd58
1 changed files with 1 additions and 1 deletions
|
|
@ -148,6 +148,7 @@ set(LAUNCH_HELPER_SOURCES
|
|||
if(NOT WIN32)
|
||||
add_executable(dbus-daemon-launch-helper ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/activation-helper-bin.c )
|
||||
target_link_libraries(dbus-daemon-launch-helper ${DBUS_INTERNAL_LIBRARIES} ${EXPAT_LIBRARIES} )
|
||||
install_targets(/lib dbus-daemon-launch-helper)
|
||||
endif(NOT WIN32)
|
||||
|
||||
if (DBUS_ENABLE_EMBEDDED_TESTS)
|
||||
|
|
@ -171,7 +172,6 @@ if (DBUS_ENABLE_EMBEDDED_TESTS)
|
|||
set (SOURCES ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/test-launch-helper.c)
|
||||
add_test_executable(test-bus-launch-helper "${SOURCES}" ${DBUS_INTERNAL_LIBRARIES} ${EXPAT_LIBRARIES})
|
||||
set_target_properties(test-bus-launch-helper PROPERTIES COMPILE_FLAGS "-DACTIVATION_LAUNCHER_TEST -DACTIVATION_LAUNCHER_DO_OOM")
|
||||
install_targets(/lib dbus-daemon-launch-helper)
|
||||
endif()
|
||||
endif (DBUS_ENABLE_EMBEDDED_TESTS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue