Commit 20697df5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use autorcc directly

parent cba1236f
Pipeline #49404 failed with stage
in 10 minutes and 5 seconds
...@@ -17,9 +17,6 @@ add_subdirectory(kconf_update) ...@@ -17,9 +17,6 @@ add_subdirectory(kconf_update)
add_subdirectory(configuration) add_subdirectory(configuration)
add_subdirectory(importexport) add_subdirectory(importexport)
set(kaddressbook_qrc_SRCS)
qt5_add_resources(kaddressbook_qrc_SRCS kaddressbook.qrc)
set(kaddressbook_printing_SRCS set(kaddressbook_printing_SRCS
printing/detailled/detailledstyle.cpp printing/detailled/detailledstyle.cpp
printing/mike/mikesstyle.cpp printing/mike/mikesstyle.cpp
...@@ -122,7 +119,7 @@ set(kaddressbook_SRCS ...@@ -122,7 +119,7 @@ set(kaddressbook_SRCS
kaddressbook_debug.cpp kaddressbook_debug.cpp
main.cpp main.cpp
mainwindow.cpp mainwindow.cpp
${kaddressbook_qrc_SRCS} kaddressbook.qrc
) )
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kaddressbook.png") file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kaddressbook.png")
...@@ -147,7 +144,7 @@ install(PROGRAMS ...@@ -147,7 +144,7 @@ install(PROGRAMS
DESTINATION ${KDE_INSTALL_APPDIR}) DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES data/org.kde.kaddressbook.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) install(FILES data/org.kde.kaddressbook.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
set(kaddressbook_PART_SRCS kaddressbookpart.cpp kaddressbook_debug.cpp ${kaddressbook_qrc_SRCS}) set(kaddressbook_PART_SRCS kaddressbookpart.cpp kaddressbook_debug.cpp kaddressbook.qrc)
add_library(kaddressbookpart MODULE ${kaddressbook_PART_SRCS}) add_library(kaddressbookpart MODULE ${kaddressbook_PART_SRCS})
target_link_libraries(kaddressbookpart kaddressbookprivate KF5::Parts) target_link_libraries(kaddressbookpart kaddressbookprivate KF5::Parts)
install(TARGETS kaddressbookpart DESTINATION ${KDE_INSTALL_PLUGINDIR}) install(TARGETS kaddressbookpart DESTINATION ${KDE_INSTALL_PLUGINDIR})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment