ABI in gschema.xml
This commit is contained in:
parent
972b5e5d88
commit
4b74a70c28
|
@ -2,7 +2,7 @@ SET (GSCHEMAS_INSTALL_DIR "share/glib-2.0/schemas")
|
|||
SET (GSCHEMAS_TARGET_DIR "${CMAKE_BINARY_DIR}/${GSCHEMAS_INSTALL_DIR}")
|
||||
FILE (MAKE_DIRECTORY "${GSCHEMAS_TARGET_DIR}")
|
||||
EXECUTE_PROCESS (COMMAND glib-compile-schemas "--targetdir=${GSCHEMAS_TARGET_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
INSTALL (FILES "${GSchemaFile}" DESTINATION "${GSCHEMAS_INSTALL_DIR}")
|
||||
INSTALL (FILES "${GSchemaFile}.gschema.xml" DESTINATION "${GSCHEMAS_INSTALL_DIR}" RENAME "${GSchemaFile}-${MAJOR}.gschema.xml")
|
||||
IF (WIN32)
|
||||
INSTALL (FILES "${GSCHEMAS_TARGET_DIR}/gschemas.compiled" DESTINATION "${GSCHEMAS_INSTALL_DIR}")
|
||||
ENDIF (WIN32)
|
||||
|
|
Loading…
Reference in New Issue