mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
FindBoost: Fix compiler features for fiber and context
This commit is contained in:
@@ -1072,6 +1072,8 @@ function(_Boost_COMPILER_FEATURES component _ret)
|
|||||||
cxx_thread_local
|
cxx_thread_local
|
||||||
cxx_variadic_templates
|
cxx_variadic_templates
|
||||||
)
|
)
|
||||||
|
# Compiler feature for `context` same as for `fiber`.
|
||||||
|
set(_Boost_CONTEXT_COMPILER_FEATURES ${_Boost_FIBER_COMPILER_FEATURES})
|
||||||
endif()
|
endif()
|
||||||
string(TOUPPER ${component} uppercomponent)
|
string(TOUPPER ${component} uppercomponent)
|
||||||
set(${_ret} ${_Boost_${uppercomponent}_COMPILER_FEATURES} PARENT_SCOPE)
|
set(${_ret} ${_Boost_${uppercomponent}_COMPILER_FEATURES} PARENT_SCOPE)
|
||||||
|
|||||||
Reference in New Issue
Block a user