Skip to content

Commit

Permalink
Merge pull request #6481 from STEllAR-GROUP/cxx_version
Browse files Browse the repository at this point in the history
Fixing use of HPX_WITH_CXX_STANDARD
  • Loading branch information
hkaiser authored May 3, 2024
2 parents 9f92313 + 311ede2 commit 85c3c8f
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 85c3c8f

Please sign in to comment.