Made ofx-gschema dependent on WITH_OFX flag

This commit is contained in:
Sumit Bhardwaj 2017-09-09 10:13:19 -07:00
parent a1bc2d0202
commit bbdb7151dd

View File

@ -16,12 +16,16 @@ IF (${CMAKE_VERSION} VERSION_GREATER 3.1)
ENDIF()
SET(schema-targets csv-exp-gschema csv-imp-gschema
generic-import-gschema gnome-gschema gnome-utils-gschema ofx-gschema qif-imp-gschema)
generic-import-gschema gnome-gschema gnome-utils-gschema qif-imp-gschema)
IF (WITH_AQBANKING)
LIST(APPEND schema-targets aqb-gschema)
ENDIF (WITH_AQBANKING)
IF (WITH_OFX)
LIST(APPEND schema-targets ofx-gschema)
ENDIF (WITH_OFX)
SET(SCHEMA_DIRECTORY ${DATADIR_BUILD}/glib-2.0/schemas)
ADD_CUSTOM_COMMAND(
OUTPUT ${SCHEMA_DIRECTORY}/gschemas.compiled