diff --git a/gnucash/import-export/CMakeLists.txt b/gnucash/import-export/CMakeLists.txt index dfa4ed4849..bfc14b5985 100644 --- a/gnucash/import-export/CMakeLists.txt +++ b/gnucash/import-export/CMakeLists.txt @@ -12,7 +12,9 @@ ADD_SUBDIRECTORY(csv-imp) ADD_SUBDIRECTORY(customer-import) ADD_SUBDIRECTORY(gschemas) ADD_SUBDIRECTORY(log-replay) -ADD_SUBDIRECTORY(ofx) +if (WITH_OFX) + ADD_SUBDIRECTORY(ofx) +endif() ADD_SUBDIRECTORY(qif) ADD_SUBDIRECTORY(qif-imp)