Skip to content

Commit

Permalink
Fix check for Boost::context
Browse files Browse the repository at this point in the history
  • Loading branch information
Pansysk75 committed Jan 13, 2025
1 parent bebdc4a commit 6dda989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ endif()

if(HPX_WITH_GENERIC_CONTEXT_COROUTINES)
# Check if we can use generic coroutine contexts without any problems
if(NOT Boost_CONTEXT_FOUND)
if(NOT (Boost_CONTEXT_FOUND OR TARGET Boost::context))
hpx_error(
"The usage of Boost.Context was selected but Boost.Context was not found."
)
Expand Down

0 comments on commit 6dda989

Please sign in to comment.