mirror of https://github.com/CGAL/cgal
Merge pull request #4859 from sgiraudot/Installation-Fix_cmake_module_IO_streams-GF
Fix CMake module for Boost IO Streams
This commit is contained in:
commit
f2da5cdb1a
|
|
@ -35,7 +35,7 @@ if(Boost_IOSTREAMS_FOUND AND NOT TARGET CGAL::Boost_iostreams_support)
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.11)
|
if(CMAKE_VERSION VERSION_LESS 3.11)
|
||||||
set_target_properties(CGAL::Boost_iostreams_support PROPERTIES
|
set_target_properties(CGAL::Boost_iostreams_support PROPERTIES
|
||||||
INTERFACE_COMPILE_DEFINITIONS "CGAL_LINKED_WITH_BOOST_IOSTREAMS"
|
INTERFACE_COMPILE_DEFINITIONS "CGAL_LINKED_WITH_BOOST_IOSTREAMS"
|
||||||
INTERFACE_LINK_LIBRARIES ${Boost_LIB} ${ZLIB_LIBS})
|
INTERFACE_LINK_LIBRARIES "${Boost_LIB};${ZLIB_LIBS}")
|
||||||
else()
|
else()
|
||||||
set_target_properties(CGAL::Boost_iostreams_support PROPERTIES
|
set_target_properties(CGAL::Boost_iostreams_support PROPERTIES
|
||||||
INTERFACE_COMPILE_DEFINITIONS "CGAL_LINKED_WITH_BOOST_IOSTREAMS")
|
INTERFACE_COMPILE_DEFINITIONS "CGAL_LINKED_WITH_BOOST_IOSTREAMS")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue