summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 62b762af6..3fad9f3ce 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,10 +21,6 @@ else
manaplus_SOURCES =
endif
-if ENABLE_UNITTESTS
-manaplus_CXXFLAGS += -DUNITTESTS
-endif
-
if USE_INTERNALGUICHAN
manaplus_CXXFLAGS += -DUSE_INTERNALGUICHAN
manaplus_SOURCES += guichan/include/guichan/actionevent.hpp \
@@ -785,6 +781,11 @@ manaplus_SOURCES += \
mumblemanager.cpp \
mumblemanager.h
+if ENABLE_UNITTESTS
+manaplus_CXXFLAGS += -DUNITTESTS
+manaplus_SOURCES += \
+ utils/stringutils_unittest.cc
+endif
EXTRA_DIST = CMakeLists.txt \
winver.h.in \