diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-04-26 06:46:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-30 18:26:07 (GMT) |
commit | f06bf0fa5740a82a4205b95a5de3e2a0e4eb865a (patch) | |
tree | d11cd7df3b6b730d6638cbc33e153958be8d1746 /Modules | |
parent | 684338aff6cecad6e9ef32e321dd318081edb721 (diff) | |
download | CMake-f06bf0fa5740a82a4205b95a5de3e2a0e4eb865a.zip CMake-f06bf0fa5740a82a4205b95a5de3e2a0e4eb865a.tar.gz CMake-f06bf0fa5740a82a4205b95a5de3e2a0e4eb865a.tar.bz2 |
FindBoost: Fix compiler features for `fiber` and `context`
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindBoost.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index cd79f24..552c2fd 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1072,6 +1072,8 @@ function(_Boost_COMPILER_FEATURES component _ret) cxx_thread_local cxx_variadic_templates ) + # Compiler feature for `context` same as for `fiber`. + set(_Boost_CONTEXT_COMPILER_FEATURES ${_Boost_FIBER_COMPILER_FEATURES}) endif() string(TOUPPER ${component} uppercomponent) set(${_ret} ${_Boost_${uppercomponent}_COMPILER_FEATURES} PARENT_SCOPE) |