Skip to content

Commit

Permalink
Made ofx-gschema dependent on WITH_OFX flag
Browse files Browse the repository at this point in the history
  • Loading branch information
bhardwajs committed Sep 9, 2017
1 parent a1bc2d0 commit bbdb715
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit bbdb715

Please sign in to comment.