Skip to content

Commit

Permalink
Relocate CXX standard setup
Browse files Browse the repository at this point in the history
Need to process CXX standard after a potential CONFIGURE_OPTIONS_FILE
has been processed.  This manifested a small bug where the configure
message about which CXX standard was being used showed 17 even though
the entry in the Trilinos_CONFIGURE_OPTIONS_FILE read 20 (and in fact it
did use 20).
  • Loading branch information
sebrowne committed Oct 25, 2023
1 parent 3ff154a commit b404624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ SET(Trilinos_USE_GNUINSTALLDIRS_DEFAULT ON)

SET(Trilinos_MUST_FIND_ALL_TPL_LIBS_DEFAULT TRUE)

# Set up C++ language standard selection
include(SetTrilinosCxxStandard)

# Some CMake and TriBiTS tweaks just for Trilinos
include(TrilinosTweaks)

Expand Down
3 changes: 3 additions & 0 deletions cmake/CallbackSetupExtraOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,6 @@ include("${Trilinos_SOURCE_DIR}/commonTools/build_stats/BuildStatsWrappers.cmake
generate_build_stats_wrappers()
remove_build_stats_file_on_configure()
remove_build_stats_timing_files_on_fresh_configure()

# Set up C++ language standard selection
include(SetTrilinosCxxStandard)

0 comments on commit b404624

Please sign in to comment.