summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat/lib
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-05 19:13:10 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-05 19:17:16 (GMT)
commitf177c8a0a7695bfee618e08357291d893b45613b (patch)
tree19ac700ff1a9b0c30e8153f61b7aebd5c31eb719 /Utilities/cmexpat/lib
parent4544c68a6ed18a42edb10903b9e0d4983a0e2f5c (diff)
downloadCMake-f177c8a0a7695bfee618e08357291d893b45613b.zip
CMake-f177c8a0a7695bfee618e08357291d893b45613b.tar.gz
CMake-f177c8a0a7695bfee618e08357291d893b45613b.tar.bz2
expat: Re-write CMake build system for our needs
Hard-code production of a static library. Rename to `cmexpat`.
Diffstat (limited to 'Utilities/cmexpat/lib')
-rw-r--r--Utilities/cmexpat/lib/expat_external.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmexpat/lib/expat_external.h b/Utilities/cmexpat/lib/expat_external.h
index 2c03284..b2be17b 100644
--- a/Utilities/cmexpat/lib/expat_external.h
+++ b/Utilities/cmexpat/lib/expat_external.h
@@ -53,6 +53,8 @@
#endif
#endif /* not defined XMLCALL */
+/* Build within CMake hard-codes use of a static library. */
+#define XML_STATIC
#if !defined(XML_STATIC) && !defined(XMLIMPORT)
#ifndef XML_BUILDING_EXPAT