Skip to content

Commit

Permalink
COMP: Do not override CMAKE_CXX_STANDARD in HDF5 build
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jun 23, 2023
1 parent 0687789 commit 8aace5f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
set(CMAKE_CXX_STANDARD 98)
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 98)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down

0 comments on commit 8aace5f

Please sign in to comment.