From b971b822756f14560d585bb7160ef864974783eb Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Jul 2020 17:17:48 -0400 Subject: [PATCH] CMakeLists: Correct boost asio disabling define name Previously the name of the define was missing the BOOST_ prefix. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 174ed1c58..99476c55f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,7 +124,7 @@ if (MSVC) # cubeb and boost still make use of deprecated result_of. add_definitions(-D_HAS_DEPRECATED_RESULT_OF) # boost asio's concept usage doesn't play nicely with MSVC yet. - add_definitions(-DASIO_DISABLE_CONCEPTS) + add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS) else() set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON)