diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-09-24 06:18:41 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-09-24 06:18:41 +0300 |
commit | 19d2c9a62b802bf661acab09455f0427e05cc368 (patch) | |
tree | d2a2eea4c4c3f10f4ec2d7446eff2825bfbeb889 /CMakeLists.txt | |
parent | d65a2c94daf7d2811d5bc22b9a6352b7012f3aae (diff) |
Restore Visual Studio support. Many, many, many thanks to @jamboree for telling me the workaround for the ICEs.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 37a29431..49bff93c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ int main() { return g().get(); } set(CXX_HAS_COROUTINES${iter} ${CXX_HAS_COROUTINES${iter}} PARENT_SCOPE) endfunction() include(CheckCXXSourceCompiles) -if(MSVC) +if(0 AND MSVC) CheckCXXHasCoroutines(_MSVC "/await") if(CXX_HAS_COROUTINES_MSVC) all_compile_options(PUBLIC "/await") |