Warning, /libraries/kopeninghours/src/qml/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 add_library(kopeninghoursqmlplugin kopeninghoursqmlplugin.cpp)
0005 target_link_libraries(kopeninghoursqmlplugin
0006     Qt::Qml
0007     KOpeningHours
0008 )
0009 
0010 # make examples work without installation
0011 set_property(TARGET kopeninghoursqmlplugin PROPERTY LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/kopeninghours)
0012 file(COPY qmldir DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/kopeninghours)
0013 
0014 install(TARGETS kopeninghoursqmlplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kopeninghours)
0015 install(FILES qmldir ${qml_SRC} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kopeninghours)