mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-23 01:29:19 +01:00
85141f17f9
libsystemd which is required by dbus has an optional dependency on liblzma and since we don't need it we can just strip it out of dbus
16 lines
658 B
Diff
16 lines
658 B
Diff
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
|
|
index 8cde1ffe0..d4d09f223 100644
|
|
--- a/tools/CMakeLists.txt
|
|
+++ b/tools/CMakeLists.txt
|
|
@@ -91,7 +91,9 @@ endif()
|
|
add_executable(dbus-launch ${dbus_launch_SOURCES})
|
|
target_link_libraries(dbus-launch ${DBUS_LIBRARIES})
|
|
if(DBUS_BUILD_X11)
|
|
- target_link_libraries(dbus-launch ${X11_LIBRARIES} )
|
|
+ find_package(Threads REQUIRED)
|
|
+ target_link_libraries(dbus-launch ${X11_LIBRARIES} ${X11_xcb_LIB} ${X11_Xau_LIB} ${X11_Xdmcp_LIB} Threads::Threads)
|
|
+ target_include_directories(dbus-launch PRIVATE ${X11_INCLUDE_DIR})
|
|
endif()
|
|
install(TARGETS dbus-launch ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|