mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 02:42:41 -06:00
Merge pull request #4317 from lioncash/boost
CMakeLists: Correct boost asio disabling define name
This commit is contained in:
commit
b2305dcee0
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ if (MSVC)
|
||||||
# cubeb and boost still make use of deprecated result_of.
|
# cubeb and boost still make use of deprecated result_of.
|
||||||
add_definitions(-D_HAS_DEPRECATED_RESULT_OF)
|
add_definitions(-D_HAS_DEPRECATED_RESULT_OF)
|
||||||
# boost asio's concept usage doesn't play nicely with MSVC yet.
|
# boost asio's concept usage doesn't play nicely with MSVC yet.
|
||||||
add_definitions(-DASIO_DISABLE_CONCEPTS)
|
add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS)
|
||||||
else()
|
else()
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
Loading…
Reference in a new issue