diff options
-rw-r--r-- | QA/UnitTest/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/QA/UnitTest/SConscript b/QA/UnitTest/SConscript index 095ef68..4e82443 100644 --- a/QA/UnitTest/SConscript +++ b/QA/UnitTest/SConscript @@ -14,6 +14,10 @@ if "check" in COMMAND_LINE_TARGETS or env.GetOption("clean") : myenv.MergeFlags(env.get("LIBXML_FLAGS", "")) myenv.MergeFlags(env.get("EXPAT_FLAGS", "")) myenv.MergeFlags(env["ZLIB_FLAGS"]) + if env.get("HAVE_LIBXML") : + myenv.Append(CPPDEFINES = ["HAVE_LIBXML"]) + if env.get("HAVE_EXPAT") : + myenv.Append(CPPDEFINES = ["HAVE_EXPAT"]) checker = myenv.Program("checker", ["checker.cpp"] + env["UNITTEST_SOURCES"]) for i in ["HOME", "USERPROFILE", "APPDATA"]: if os.environ.get(i, "") : |