mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #4316 from lioncash/cmake-concept
CMakeLists: Disable concepts in boost asio
This commit is contained in:
commit
84b5804834
@ -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 New Issue
Block a user