mirror of https://github.com/CGAL/cgal
Workaround for silencing a cmake warning for older versions
This commit is contained in:
parent
effca64dd4
commit
8d15f77479
|
|
@ -29,6 +29,9 @@ endif()
|
|||
find_package( Boost OPTIONAL_COMPONENTS serialization iostreams )
|
||||
|
||||
if( WIN32 )
|
||||
# to avoid a warning with old cmake
|
||||
set(_Boost_BZIP2_HEADERS "boost/iostreams/filter/bzip2.hpp")
|
||||
set(_Boost_ZLIB_HEADERS "boost/iostreams/filter/zlib.hpp")
|
||||
find_package( Boost OPTIONAL_COMPONENTS zlib)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@ endif()
|
|||
find_package( Boost OPTIONAL_COMPONENTS serialization iostreams)
|
||||
|
||||
if( WIN32 )
|
||||
# to avoid a warning with old cmake
|
||||
set(_Boost_BZIP2_HEADERS "boost/iostreams/filter/bzip2.hpp")
|
||||
set(_Boost_ZLIB_HEADERS "boost/iostreams/filter/zlib.hpp")
|
||||
find_package( Boost OPTIONAL_COMPONENTS zlib)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue