From 31de1563a480777460ab303af929464db3f80776 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Oct 2017 22:00:39 +0300 Subject: Add configure options for build only tests binary with system catch and doctest. --- src/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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)"\" \ -- cgit v1.2.3-70-g09d2