mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 02:41:49 -05:00
CMakeLists: Disable concepts in boost asio
This commit is contained in:
parent
739d90ee66
commit
539675b21a
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ 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.
|
||||||
|
add_definitions(-DASIO_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