Don't link KDBusAddons on windows
This commit is contained in:
@@ -556,7 +556,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