Skip to content

Commit

Permalink
HPX_WITH_STDEXEC on by default for cpp20
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed May 23, 2024
1 parent 3e51d4b commit 5bb5788
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/HPX_SetupStdexec.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ if(STDEXEC_ROOT AND NOT Stdexec_ROOT)
unset(STDEXEC_ROOT CACHE)
endif()

if(Stdexec_ROOT OR HPX_WITH_FETCH_STDEXEC)
if(Stdexec_ROOT
OR HPX_WITH_FETCH_STDEXEC
OR HPX_WITH_CXX_STANDARD GREATER_EQUAL 20
)
# explicitly enable HPX_WITH_STDEXEC
set(HPX_WITH_STDEXEC ON)

Expand Down

0 comments on commit 5bb5788

Please sign in to comment.