forked from boostorg/beast
Revert "Add a Beast CMake interface target:"
This reverts commit 906db45bec.
This commit is contained in:
1 parent
4b5ffeff1e
commit
4d21f8d2cf
10 files changed
+111
-68
No files matched your search
@@ -33,7 +33,11 @@ add_executable (http-tests
|
||||
write.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-tests Beast Boost::program_options Boost::filesystem Boost::coroutine Boost::thread Boost::context)
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(http-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
add_executable (http-bench
|
||||
${BEAST_INCLUDES}
|
||||
@@ -45,4 +49,8 @@ add_executable (http-bench
|
||||
parser_bench.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-bench Beast Boost::program_options Boost::filesystem)
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-bench ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(http-bench ${Boost_LIBRARIES})
|
||||
endif()
|
||||
Reference in new issue
Block a user