diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-12 17:17:48 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-12 17:17:51 -0400 |
commit | b971b822756f14560d585bb7160ef864974783eb (patch) | |
tree | a589e2ac02fcbe4b99feaf8306f895adbff1fe84 | |
parent | 539675b21a4e132a3826d5ee7385c8a980d558e5 (diff) |
CMakeLists: Correct boost asio disabling define name
Previously the name of the define was missing the BOOST_ prefix.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |