Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 030baaee authored by Laurent Montel's avatar Laurent Montel 😁

Skip automoc (fix warning for cmake >= 3.10)

parent 94b1448d
......@@ -23,6 +23,8 @@ add_custom_command(
${AKONADI_DB_DATA}
)
set_property(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/dbpopulator.cpp PROPERTY SKIP_AUTOMOC TRUE)
set(common_SRCS
unittestschema.cpp
fakeconnection.cpp
......
......@@ -44,4 +44,7 @@ add_custom_command(
${Akonadi_SOURCE_DIR}/src/server/storage/schema-source.xsl
${_schemaXml}
)
set_property(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/${_fileBaseName}.cpp ${CMAKE_CURRENT_BINARY_DIR}/${_fileBaseName}.h PROPERTY SKIP_AUTOMOC TRUE)
endmacro()
......@@ -32,6 +32,8 @@ add_custom_command(
${AKONADI_DB_SCHEME}
)
set_property(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/entities.cpp PROPERTY SKIP_AUTOMOC TRUE)
add_test(akonadidb-xmllint ${XMLLINT_EXECUTABLE} --noout --schema ${CMAKE_CURRENT_SOURCE_DIR}/storage/akonadidb.xsd ${CMAKE_CURRENT_SOURCE_DIR}/storage/akonadidb.xml)
add_test(akonadidbupdate-xmllint ${XMLLINT_EXECUTABLE} --noout --schema ${CMAKE_CURRENT_SOURCE_DIR}/storage/dbupdate.xsd ${CMAKE_CURRENT_SOURCE_DIR}/storage/dbupdate.xml)
......
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