Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Boost regex is required for all #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(USE_STANDALONE_ASIO)
message(FATAL_ERROR "Standalone Asio not found")
endif()
else()
find_package(Boost 1.54.0 COMPONENTS system thread coroutine context REQUIRED)
find_package(Boost 1.54.0 COMPONENTS system thread coroutine context regex REQUIRED)
target_link_libraries(simple-websocket-server INTERFACE ${Boost_LIBRARIES})
target_include_directories(simple-websocket-server INTERFACE ${Boost_INCLUDE_DIR})
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
Expand All @@ -53,7 +53,7 @@ target_include_directories(simple-websocket-server INTERFACE ${OPENSSL_INCLUDE_D
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
add_executable(ws_examples ws_examples.cpp)
target_link_libraries(ws_examples simple-websocket-server)
find_package(Boost 1.54.0 COMPONENTS system thread filesystem REQUIRED)
find_package(Boost 1.54.0 COMPONENTS system thread filesystem regex REQUIRED)
target_link_libraries(ws_examples ${Boost_LIBRARIES})
target_include_directories(ws_examples PRIVATE ${Boost_INCLUDE_DIR})
if(OPENSSL_FOUND)
Expand Down