gschema-test/config/CMakeLists.txt

5 lines
232 B
CMake

install (FILES "ws.backbone.gsettings.glib.gschema.xml"
DESTINATION "share/glib-2.0/schemas")
execute_process (COMMAND glib-compile-schemas "${CMAKE_INSTALL_PREFIX}/share/glib-2.0/schemas")
install (SCRIPT "compile-schemas.cmake")