set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=deprecated-declarations -Wno-deprecated-declarations")

add_subdirectory(pm)
add_subdirectory(pmbi)

file(GLOB TEST_XML_FILE "test_interface/public/com.litebmc.Test*.xml")
install(FILES ${TEST_XML_FILE} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/interfaces)
install(FILES test_interface/server/schema/Test.json DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/litebmc/schema)
