summaryrefslogtreecommitdiff
path: root/Utilities/cmThirdParty.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-01-13 14:05:36 -0500
committerBrad King <brad.king@kitware.com>2012-01-13 14:05:36 -0500
commitd4a9e334d3d65b2d65097e7c202db52b4a9c0509 (patch)
treec412c8c5edc0a3f90c59edfcb6261bb4041a879d /Utilities/cmThirdParty.h.in
parent0020fc45171c2d8b954492ea76c3b3940ebf53f3 (diff)
downloadcmake-d4a9e334d3d65b2d65097e7c202db52b4a9c0509.tar.gz
Include bzlib.h consistently across CMake build (#10950)
Use the approach originally used in commit f91b3c1d (Add options to build with system utility libraries, 2006-10-19) for all other third-party libraries. Create a "cm_bzlib.h" header wrapper that robustly includes the header from the bzip2 library chosen for the CMake build (either builtin or system version). Include the header wrapper anywhere we need the API provided by <bzlib.h>.
Diffstat (limited to 'Utilities/cmThirdParty.h.in')
-rw-r--r--Utilities/cmThirdParty.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmThirdParty.h.in b/Utilities/cmThirdParty.h.in
index daf8114128..c8240850ee 100644
--- a/Utilities/cmThirdParty.h.in
+++ b/Utilities/cmThirdParty.h.in
@@ -16,6 +16,7 @@
#cmakedefine CMAKE_USE_SYSTEM_CURL
#cmakedefine CMAKE_USE_SYSTEM_EXPAT
#cmakedefine CMAKE_USE_SYSTEM_ZLIB
+#cmakedefine CMAKE_USE_SYSTEM_BZIP2
#cmakedefine CMAKE_USE_SYSTEM_LIBARCHIVE
#cmakedefine CTEST_USE_XMLRPC