Commit f1691089 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use autorcc directly

parent 7370c213
Pipeline #49444 passed with stage
in 12 minutes and 46 seconds
......@@ -49,9 +49,8 @@ target_link_libraries(akonadi_unittest_common
)
macro(add_server_test _source)
set(_test ${_source} ../../src/server/akonadiserver_debug.cpp ../../src/server/akonadiserver_search_debug.cpp)
set(_test ${_source} ../../src/server/akonadiserver_debug.cpp ../../src/server/akonadiserver_search_debug.cpp dbtest_data/dbtest_data.qrc)
get_filename_component(_name ${_source} NAME_WE)
qt5_add_resources(_test dbtest_data/dbtest_data.qrc)
ecm_add_test(TEST_NAME ${_name} NAME_PREFIX "AkonadiServer-" ${_test})
if (ENABLE_ASAN)
set_tests_properties(AkonadiServer-${_name} PROPERTIES
......
......@@ -133,6 +133,7 @@ set(libakonadiserver_SRCS
preprocessorinstance.cpp
preprocessormanager.cpp
storagejanitor.cpp
storage/akonadidb.qrc
)
set(akonadiserver_SRCS
......@@ -164,8 +165,6 @@ qt5_add_dbus_interface(libakonadiserver_SRCS ${Akonadi_SOURCE_DIR}/src/interface
qt5_add_dbus_interface(libakonadiserver_SRCS ${Akonadi_SOURCE_DIR}/src/interfaces/org.freedesktop.Akonadi.Agent.Control.xml agentcontrolinterface)
qt5_add_dbus_interface(libakonadiserver_SRCS ${Akonadi_SOURCE_DIR}/src/interfaces/org.freedesktop.Akonadi.Agent.Search.xml agentsearchinterface)
qt5_add_resources(libakonadiserver_SRCS storage/akonadidb.qrc)
add_library(libakonadiserver STATIC ${libakonadiserver_SRCS})
#if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
# set_target_properties(libakonadiserver PROPERTIES UNITY_BUILD ON)
......
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