summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1b7ccd77f..1f31e0f51 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,9 +37,16 @@ endif
if ENABLE_UNITTESTSBIN_DOCTEST
manaplustests_CXXFLAGS += -DUNITTESTS_DOCTEST
endif
+if ENABLE_UNITTESTSBIN
+if ENABLE_UNITTESTSBIN_EMBED
+manaplustests_CXXFLAGS += -DUNITTESTS_EMBED
+endif
+endif
+if ENABLE_UNITTESTS
if ENABLE_UNITTESTS_EMBED
manaplustests_CXXFLAGS += -DUNITTESTS_EMBED
endif
+endif
dyecmd_CXXFLAGS = -DPKG_DATADIR=\""$(pkgdatadir)/"\" \
-DLOCALEDIR=\""$(localedir)"\" \