Skip to content

Commit

Permalink
Fixing use of HPX_WITH_CXX_STANDARD
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed May 4, 2024
1 parent 91ee21d commit f453d65
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cmake/HPX_CheckCXXStandard.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,11 @@ set(CMAKE_CXX_EXTENSIONS OFF)
# standard for .cu files.
set(CMAKE_CXX_STANDARD_DEFAULT 98)

hpx_info("Using C++${HPX_CXX_STANDARD}")
# Make sure HPX_WITH_CXX_STANDARD reflects the user's selection
hpx_set_option(
HPX_WITH_CXX_STANDARD
VALUE ${HPX_CXX_STANDARD}
FORCE
)

hpx_info("Using C++${HPX_WITH_CXX_STANDARD}")

0 comments on commit f453d65

Please sign in to comment.