Don't link KDBusAddons on windows
(cherry picked from commit ad6c7dbd1f)
This commit is contained in:
@@ -501,7 +501,7 @@ if(NOT ANDROID)
|
|||||||
set_target_properties(neochat-app PROPERTIES OUTPUT_NAME "neochat")
|
set_target_properties(neochat-app PROPERTIES OUTPUT_NAME "neochat")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(TARGET KF6::DBusAddons)
|
if(TARGET KF6::DBusAddons AND NOT WIN32)
|
||||||
target_link_libraries(neochat PUBLIC KF6::DBusAddons)
|
target_link_libraries(neochat PUBLIC KF6::DBusAddons)
|
||||||
target_compile_definitions(neochat PUBLIC -DHAVE_KDBUSADDONS)
|
target_compile_definitions(neochat PUBLIC -DHAVE_KDBUSADDONS)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user