diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-09-26 00:00:00 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-09-26 00:00:00 +0300 |
commit | 3b1b08b521930a43210310065ddd33537f08010e (patch) | |
tree | e5c2b4ae74925d84f43b58130e8cbd915bec7684 /CMakeLists.txt | |
parent | 760a6d37f6ff42a948a1487ac6b1d7deb477195e (diff) |
Implemented refactor of async_file_handle on POSIX.
Reenabled Coroutines TS support which is now working very nicely.
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 49bff93c..37a29431 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(0 AND MSVC) +if(MSVC) CheckCXXHasCoroutines(_MSVC "/await") if(CXX_HAS_COROUTINES_MSVC) all_compile_options(PUBLIC "/await") |