summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-06 13:35:47 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-07-06 13:35:47 (GMT)
commitf45befed3af7f24cf8aae1a29d3475ad6ae0b161 (patch)
tree0aabb51c1143be3307a9d330b83c4ef44c559e43 /Modules
parent50adbfcacb27ea656f51a699af78828aad59bde6 (diff)
parentcb1a434ce093ea2530a7acd5692f4da8cfb9f8aa (diff)
downloadCMake-f45befed3af7f24cf8aae1a29d3475ad6ae0b161.zip
CMake-f45befed3af7f24cf8aae1a29d3475ad6ae0b161.tar.gz
CMake-f45befed3af7f24cf8aae1a29d3475ad6ae0b161.tar.bz2
Merge topic 'FindBoost-extras'
cb1a434c FindBoost: Add check headers for `zlib` and `bzip2`
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBoost.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 2560459..ed149c6 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -808,6 +808,10 @@ function(_Boost_COMPONENT_HEADERS component _hdrs)
set(_Boost_UNIT_TEST_FRAMEWORK_HEADERS "boost/test/framework.hpp")
set(_Boost_WAVE_HEADERS "boost/wave.hpp")
set(_Boost_WSERIALIZATION_HEADERS "boost/archive/text_wiarchive.hpp")
+ if(WIN32)
+ set(_Boost_BZIP2_HEADERS "boost/iostreams/filter/bzip2.hpp")
+ set(_Boost_ZLIB_HEADERS "boost/iostreams/filter/zlib.hpp")
+ endif()
string(TOUPPER ${component} uppercomponent)
set(${_hdrs} ${_Boost_${uppercomponent}_HEADERS} PARENT_SCOPE)