Warning, /frameworks/qqc2-desktop-style/plugin/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 project(qqc2desktopstyle)
0002
0003 set(qqc2desktopstyle_SRCS
0004 qqc2desktopstyleplugin.cpp
0005 kquickstyleitem.cpp
0006 kpropertywriter.cpp
0007 )
0008
0009 add_library(qqc2desktopstyleplugin SHARED ${qqc2desktopstyle_SRCS})
0010 target_link_libraries(qqc2desktopstyleplugin Qt${QT_MAJOR_VERSION}::Core Qt${QT_MAJOR_VERSION}::Qml Qt${QT_MAJOR_VERSION}::Quick Qt${QT_MAJOR_VERSION}::Gui Qt${QT_MAJOR_VERSION}::Widgets KF5::ConfigCore KF5::Kirigami2)
0011
0012 if(KF5ConfigWidgets_FOUND)
0013 target_link_libraries(qqc2desktopstyleplugin
0014 KF5::ConfigWidgets
0015 )
0016 endif()
0017
0018 if(WIN32 AND BUILD_SHARED_LIBS)
0019 set_target_properties(qqc2desktopstyleplugin PROPERTIES PREFIX "")
0020 endif()
0021
0022 install(TARGETS qqc2desktopstyleplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/qqc2desktopstyle/private)
0023 install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/qqc2desktopstyle/private)