)
ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/serialization/src)
-
- IF(DEAL_II_WITH_ZLIB AND DEAL_II_WITH_BZIP2)
- ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/iostreams/src)
- ENDIF()
+ ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/iostreams/src)
IF(DEAL_II_WITH_THREADS AND NOT DEAL_II_WITH_CXX11)
ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/thread/src)
## ---------------------------------------------------------------------
SET(src_boost_iostreams
- bzip2.cpp
file_descriptor.cpp
gzip.cpp
mapped_file.cpp
- zlib.cpp
)
+IF(DEAL_II_WITH_ZLIB)
+ SET(src_boost_iostreams
+ ${src_boost_iostreams}
+ zlib.cpp
+ )
+ELSE()
+ MESSAGE(STATUS "BOOST::Iostreams will not support gzipped streams because libz could not be found")
+ENDIF()
+
+IF(DEALII_WITH_BZIP2)
+ SET(src_boost_iostreams
+ ${src_boost_iostreams}
+ bzip2.cpp
+ )
+ELSE()
+ MESSAGE(STATUS "BOOST::Iostreams will not support bz2'ed streams because libz could not be found")
+ENDIF()
+
+
DEAL_II_ADD_LIBRARY(obj_boost_iostreams OBJECT ${src_boost_iostreams})
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams