summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-07-12 22:18:20 +0200
committerGitHub <noreply@github.com>2020-07-12 22:18:20 +0200
commit84b5804834da312a7b830326cec882bfe24ba144 (patch)
tree2466d142752c7f16830733c34f998424d80d81a1
parentMerge pull request #4265 from Morph1984/file-rename (diff)
parentCMakeLists: Disable concepts in boost asio (diff)
downloadyuzu-84b5804834da312a7b830326cec882bfe24ba144.tar
yuzu-84b5804834da312a7b830326cec882bfe24ba144.tar.gz
yuzu-84b5804834da312a7b830326cec882bfe24ba144.tar.bz2
yuzu-84b5804834da312a7b830326cec882bfe24ba144.tar.lz
yuzu-84b5804834da312a7b830326cec882bfe24ba144.tar.xz
yuzu-84b5804834da312a7b830326cec882bfe24ba144.tar.zst
yuzu-84b5804834da312a7b830326cec882bfe24ba144.zip
-rw-r--r--CMakeLists.txt2
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)
# 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)