Module: check_mk
Branch: master
Commit: 9fe9bc9de46a0ecf0d88b54519317212dd6ed05d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9fe9bc9de46a0e…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Mar 1 10:02:46 2018 +0100
Build Win-agent unit tests with common AM_CPPFLAGS
The common flags were accidentally forgotten when building unit tests.
Now it is possible to use, e. g., C++17 features also in unit tests.
---
agents/windows/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/windows/Makefile.am b/agents/windows/Makefile.am
index 0d01e6f..70c2d62 100644
--- a/agents/windows/Makefile.am
+++ b/agents/windows/Makefile.am
@@ -11,7 +11,7 @@ LD_COMMON = -lwsock32 -lws2_32 -lole32 -loleaut32 -lwbemuuid -lpsapi
-lshlwapi -
check_mk_agent_LDADD = check_mk_agent.res libcheck_mk_agent.a $(LD_COMMON)
-WindowsAgentTest_CPPFLAGS = -I$(top_srcdir)/sections -I$(top_srcdir)/test
+WindowsAgentTest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/sections -I$(top_srcdir)/test
WindowsAgentTest_LDADD = libcheck_mk_agent.a -lgtest -lgmock $(LD_COMMON)
wmitest_LDADD = $(LD_COMMON)