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
@@ -21,7 +21,11 @@ add_executable (websocket-tests
|
||||
utf8_checker.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-tests Beast Boost::program_options Boost::filesystem Boost::coroutine Boost::thread Boost::context)
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(websocket-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(websocket-tests ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if (MINGW)
|
||||
set_target_properties(websocket-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj -Og")
|
||||
|
||||
@@ -5,6 +5,8 @@ GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test/websocket/ssl "/")
|
||||
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
|
||||
add_executable (websocket-ssl-tests
|
||||
${BEAST_INCLUDES}
|
||||
${EXTRAS_INCLUDES}
|
||||
@@ -14,4 +16,8 @@ add_executable (websocket-ssl-tests
|
||||
ssl_server.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-ssl-tests Beast Boost::program_options Boost::filesystem OpenSSL::SSL)
|
||||
target_link_libraries(websocket-ssl-tests ${OPENSSL_LIBRARIES})
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(websocket-ssl-tests ${Boost_LIBRARIES} Threads::Threads)
|
||||
endif()
|
||||
Reference in new issue
Block a user