Files
boost_beast/test/bench/zlib/CMakeLists.txt
JackyYin ca824f607c Update zlib from 1.2.11 to 1.2.12
fix #2439

Because there is a CVE issue impact zlib before 1.2.12,
update zlib to avoid any related problems.

Please check the link below for detailed CVE information:
https://access.redhat.com/security/cve/CVE-2018-25032
2022-06-03 17:43:42 -03:00

32 lines
807 B
CMake

#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Official repository: https://github.com/boostorg/beast
#
GroupSources (include/boost/beast beast)
GroupSources (test/extern/zlib-1.2.12 zlib)
GroupSources (test/bench/zlib "/")
if (MSVC)
set_source_files_properties (${ZLIB_SOURCES} PROPERTIES COMPILE_FLAGS "/wd4127 /wd4131 /wd4244")
endif()
add_executable (bench-zlib
${BOOST_BEAST_FILES}
${ZLIB_SOURCES}
Jamfile
deflate_stream.cpp
inflate_stream.cpp
)
target_link_libraries(bench-zlib
lib-asio
lib-beast
lib-test
)
set_property(TARGET bench-zlib PROPERTY FOLDER "tests-bench")