forked from boostorg/beast
Update CMakeLists.txt for boost
This commit is contained in:
@@ -12,8 +12,6 @@ GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(test/websocket "/")
|
||||
|
||||
#include_directories(../../example/)
|
||||
|
||||
add_executable (websocket-tests
|
||||
${BOOST_BEAST_INCLUDES}
|
||||
${EXTRAS_INCLUDES}
|
||||
@@ -32,15 +30,8 @@ add_executable (websocket-tests
|
||||
utf8_checker.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-tests
|
||||
Beast
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_COROUTINE_LIBRARY}
|
||||
${Boost_THREAD_LIBRARY}
|
||||
${Boost_CONTEXT_LIBRARY}
|
||||
)
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
target_link_libraries(websocket-tests ${OPENSSL_LIBRARIES})
|
||||
target_link_libraries(websocket-tests
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user