Fix build not including qml plugin and qmldir

This commit is contained in:
outfoxxed 2024-01-24 04:00:45 -08:00
parent 4b1134c439
commit bd600d4117
Signed by: outfoxxed
GPG Key ID: 4C88A185FB89301E
1 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
# SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleix.pol_gonzalez@mercedes-benz.com>
# SPDX-License-Identifier: BSD-3-Clause
set(BUILD_SHARED_LIBS ON)
qt_add_qml_module(LayerShellQtQml
URI "org.kde.layershell"
VERSION 1.0
SOURCES layershellqtplugin.cpp)
target_link_libraries(LayerShellQtQml PRIVATE Qt::Qml LayerShellQtInterface)
install(TARGETS LayerShellQtQml LIBRARY DESTINATION ${KDE_INSTALL_QMLDIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qmldir DESTINATION ${KDE_INSTALL_QMLDIR})
#ecm_finalize_qml_module(LayerShellQtQml DESTINATION ${KDE_INSTALL_QMLDIR})