Skip to content

Commit

Permalink
Merge pull request #407 from lanl/jmm/cxx17
Browse files Browse the repository at this point in the history
update C++ standard to 17
  • Loading branch information
Yurlungur authored Aug 15, 2024
2 parents 497ce65 + 748b7e7 commit a0e544f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [[PR403]](https://github.com/lanl/singularity-eos/pull/403) Fix Gruneisen EOS DensityEnergyFromPressureTemperature function

### Changed (changing behavior/API/variables/...)
- [[PR407]](https://github.com/lanl/singularity-eos/pull/407) Update C++ standard to C++17

### Infrastructure (changes irrelevant to downstream codes)
- [[PR402]](https://github.com/lanl/singularity-eos/pull/402) Added stiff gas to python interface
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ endif()
if(CMAKE_CXX_STANDARD)
target_compile_features(singularity-eos_Interface INTERFACE cxx_std_${CMAKE_CXX_STANDARD})
else()
target_compile_features(singularity-eos_Interface INTERFACE cxx_std_14)
target_compile_features(singularity-eos_Interface INTERFACE cxx_std_17)
endif()

# checks if this is our build, or we've been imported via `add_subdirectory` NB:
Expand Down

0 comments on commit a0e544f

Please sign in to comment.