Fix build with kio
This commit is contained in:
committed by
Tobias Fella
parent
aadd9b0189
commit
63a3c3e58a
@@ -341,10 +341,6 @@ if(TARGET KF6::DBusAddons AND NOT WIN32)
|
|||||||
target_compile_definitions(neochat PUBLIC -DHAVE_KDBUSADDONS)
|
target_compile_definitions(neochat PUBLIC -DHAVE_KDBUSADDONS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TARGET KF6::KIOWidgets)
|
|
||||||
target_compile_definitions(neochat PUBLIC -DHAVE_KIO)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (TARGET KUnifiedPush)
|
if (TARGET KUnifiedPush)
|
||||||
target_compile_definitions(neochat PUBLIC -DHAVE_KUNIFIEDPUSH)
|
target_compile_definitions(neochat PUBLIC -DHAVE_KUNIFIEDPUSH)
|
||||||
target_link_libraries(neochat PUBLIC KUnifiedPush)
|
target_link_libraries(neochat PUBLIC KUnifiedPush)
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ target_sources(LibNeoChat PRIVATE
|
|||||||
models/userlistmodel.cpp
|
models/userlistmodel.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (TARGET KF6::KIOWidgets)
|
||||||
|
target_compile_definitions(LibNeoChat PUBLIC -DHAVE_KIO)
|
||||||
|
endif()
|
||||||
|
|
||||||
ecm_add_qml_module(LibNeoChat GENERATE_PLUGIN_SOURCE
|
ecm_add_qml_module(LibNeoChat GENERATE_PLUGIN_SOURCE
|
||||||
URI org.kde.neochat.libneochat
|
URI org.kde.neochat.libneochat
|
||||||
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat/libneochat
|
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat/libneochat
|
||||||
|
|||||||
Reference in New Issue
Block a user