Browse Source

Win32: dirty hack for gschemas.compiled.

master
Kolan Sh 6 years ago
parent
commit
53f0f093c4
  1. 2
      GSchemaCommonRules.cmake

2
GSchemaCommonRules.cmake

@ -4,5 +4,5 @@ CONFIGURE_FILE ("${GSchemaFile}.gschema.xml" "${ABS_INSTALL_DIR}/${GSchemaFile}-
EXECUTE_PROCESS (COMMAND glib-compile-schemas "--targetdir=${ABS_INSTALL_DIR}" "${ABS_INSTALL_DIR}")
INSTALL (FILES "${ABS_INSTALL_DIR}/${GSchemaFile}-${MAJOR}.gschema.xml" DESTINATION "${REL_INSTALL_DIR}")
IF (WIN32)
INSTALL (FILES "${ABS_INSTALL_DIR}/gschemas.compiled" DESTINATION "${REL_INSTALL_DIR}")
INSTALL (FILES "${ABS_INSTALL_DIR}/gschemas.compiled" DESTINATION "${REL_INSTALL_DIR}/${PROJECT_LOWERCASE_NAME}-${MAJOR}")
ENDIF (WIN32)
Loading…
Cancel
Save