Set OUTPUT_DIRECTORY for qml modules

This fixes some cmake warning and might make qmlls happier
This commit is contained in:
Tobias Fella
2024-03-29 13:28:43 +01:00
parent f40a0a6f5f
commit 217f9e2e02
3 changed files with 3 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ add_library(neochat STATIC
) )
qt_add_qml_module(neochat URI org.kde.neochat NO_PLUGIN qt_add_qml_module(neochat URI org.kde.neochat NO_PLUGIN
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat
QML_FILES QML_FILES
qml/main.qml qml/main.qml
qml/AccountMenu.qml qml/AccountMenu.qml

View File

@@ -4,6 +4,7 @@
qt_add_library(settings STATIC) qt_add_library(settings STATIC)
qt_add_qml_module(settings qt_add_qml_module(settings
URI org.kde.neochat.settings URI org.kde.neochat.settings
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat/settings
QML_FILES QML_FILES
NeoChatSettings.qml NeoChatSettings.qml
RoomSettings.qml RoomSettings.qml

View File

@@ -4,6 +4,7 @@
qt_add_library(timeline STATIC) qt_add_library(timeline STATIC)
qt_add_qml_module(timeline qt_add_qml_module(timeline
URI org.kde.neochat.timeline URI org.kde.neochat.timeline
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat/timeline
QML_FILES QML_FILES
EventDelegate.qml EventDelegate.qml
TimelineDelegate.qml TimelineDelegate.qml