Skip to content

Commit 72e5fa9

Browse files
committed
test: fail the build for deprecated asio feature
1 parent 8f662ea commit 72e5fa9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ endif()
4141

4242
if(CUKE_STRICT)
4343
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
44+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DASIO_NO_DEPRECATED")
4445
endif()
4546

4647
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules)

0 commit comments

Comments
 (0)