Update CMakeLists.txt for boost

This commit is contained in:
Vinnie Falco
2017-07-23 20:04:07 -07:00
parent ad8c5f9f7f
commit 198846d7bd
22 changed files with 21 additions and 133 deletions
+3 -12
View File
@@ -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()