From ad7ecbf061ae74c944c81da993a020c05d53c7b6 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Fri, 4 Dec 2015 11:40:08 -0500 Subject: [PATCH] Build with WEBSOCKETPP_STRICT_MASKING --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e119319..554cd16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,6 +289,9 @@ ELSE() ENDIF() ENDIF() +# This will become unnecessary once we update to websocketpp which fixes upstream issue #395 +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWEBSOCKETPP_STRICT_MASKING") + target_include_directories(fc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${Boost_INCLUDE_DIR}