diff options
| author | 2020-07-12 15:53:29 -0400 | |
|---|---|---|
| committer | 2020-07-12 15:56:44 -0400 | |
| commit | 539675b21a4e132a3826d5ee7385c8a980d558e5 (patch) | |
| tree | 2466d142752c7f16830733c34f998424d80d81a1 | |
| parent | Merge pull request #4265 from Morph1984/file-rename (diff) | |
| download | yuzu-539675b21a4e132a3826d5ee7385c8a980d558e5.tar.gz yuzu-539675b21a4e132a3826d5ee7385c8a980d558e5.tar.xz yuzu-539675b21a4e132a3826d5ee7385c8a980d558e5.zip | |
CMakeLists: Disable concepts in boost asio
Diffstat (limited to '')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 12c0a4284..174ed1c58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -123,6 +123,8 @@ if (MSVC) | |||
| 123 | 123 | ||
| 124 | # cubeb and boost still make use of deprecated result_of. | 124 | # cubeb and boost still make use of deprecated result_of. |
| 125 | add_definitions(-D_HAS_DEPRECATED_RESULT_OF) | 125 | add_definitions(-D_HAS_DEPRECATED_RESULT_OF) |
| 126 | # boost asio's concept usage doesn't play nicely with MSVC yet. | ||
| 127 | add_definitions(-DASIO_DISABLE_CONCEPTS) | ||
| 126 | else() | 128 | else() |
| 127 | set(CMAKE_CXX_STANDARD 17) | 129 | set(CMAKE_CXX_STANDARD 17) |
| 128 | set(CMAKE_CXX_STANDARD_REQUIRED ON) | 130 | set(CMAKE_CXX_STANDARD_REQUIRED ON) |