Browse Source
Merge pull request #4316 from lioncash/cmake-concept
CMakeLists: Disable concepts in boost asio
pull/15/merge
Rodrigo Locatti
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
CMakeLists.txt
|
|
|
@ -123,6 +123,8 @@ 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) |
|
|
|
else() |
|
|
|
set(CMAKE_CXX_STANDARD 17) |
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON) |
|
|
|
|