From 66440cb203b1af7b2e484ee71448653b8410b173 Mon Sep 17 00:00:00 2001 From: Sumit Bhardwaj Date: Sat, 2 Sep 2017 13:53:54 -0700 Subject: [PATCH 1/2] Added WITH_OFX fix to CMakeLists in gnucash/import-export/ofx --- src/import-export/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/import-export/CMakeLists.txt b/src/import-export/CMakeLists.txt index 7bb6ba413b..0ded393532 100644 --- a/src/import-export/CMakeLists.txt +++ b/src/import-export/CMakeLists.txt @@ -8,7 +8,9 @@ ADD_SUBDIRECTORY(csv-exp) ADD_SUBDIRECTORY(csv-imp) ADD_SUBDIRECTORY(gschemas) ADD_SUBDIRECTORY(log-replay) -ADD_SUBDIRECTORY(ofx) +if (WITH_OFX) + ADD_SUBDIRECTORY(ofx) +endif() ADD_SUBDIRECTORY(qif) ADD_SUBDIRECTORY(qif-imp) From 98e8e4c767326c19ea678ddf804a0651396b0c17 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Sun, 3 Sep 2017 12:05:00 +0200 Subject: [PATCH 2/2] Only build aqbanking when requested --- src/import-export/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/import-export/CMakeLists.txt b/src/import-export/CMakeLists.txt index 0ded393532..7991a926ad 100644 --- a/src/import-export/CMakeLists.txt +++ b/src/import-export/CMakeLists.txt @@ -3,7 +3,9 @@ ADD_SUBDIRECTORY(test) # ############################################################ -ADD_SUBDIRECTORY(aqb) +if (WITH_AQBANKING) + ADD_SUBDIRECTORY(aqb) +endif() ADD_SUBDIRECTORY(csv-exp) ADD_SUBDIRECTORY(csv-imp) ADD_SUBDIRECTORY(gschemas)