diff --git a/Projects/AnalysisBase/cmake/PreConfig.cmake.in b/Projects/AnalysisBase/cmake/PreConfig.cmake.in
index 249c77a7e70752afe158c0b36faa303b3183eba4..6aa2e63fff2e3310a7a5e8ad7ec04ecf79b6a43c 100644
--- a/Projects/AnalysisBase/cmake/PreConfig.cmake.in
+++ b/Projects/AnalysisBase/cmake/PreConfig.cmake.in
@@ -4,6 +4,12 @@
 # @CMAKE_PROJECT_NAME@.
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # Use the -pthread flag for the build instead of the -lpthread linker option,
 # if the main project was set up in that way.
 set( THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@ CACHE BOOL
diff --git a/Projects/AthAnalysis/cmake/PreConfig.cmake.in b/Projects/AthAnalysis/cmake/PreConfig.cmake.in
index 51d721ac294bf2068ed7665afd3708ddfe12a7ce..bf8fa97175b175b565b42a7aa6ffb6fadbdd8ae5 100644
--- a/Projects/AthAnalysis/cmake/PreConfig.cmake.in
+++ b/Projects/AthAnalysis/cmake/PreConfig.cmake.in
@@ -3,6 +3,12 @@
 # Pre-config script to propagate variables to downstream projects
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # HepMC3
 set( HEPMC3_USE @HEPMC3_USE@ CACHE BOOL "Use HepMC3 in the project" )
 
diff --git a/Projects/AthDataQuality/cmake/PreConfig.cmake.in b/Projects/AthDataQuality/cmake/PreConfig.cmake.in
index 64d033e3fe95c94633796939f54fd629b0dce18c..e6409628ecc5f7bf7ff398f20528634b1a6c02c5 100644
--- a/Projects/AthDataQuality/cmake/PreConfig.cmake.in
+++ b/Projects/AthDataQuality/cmake/PreConfig.cmake.in
@@ -1,9 +1,15 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 #
 # File taking care of pointing the downstream projects at the right
 # version of LCG.
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # HepMC3
 set( HEPMC3_USE @HEPMC3_USE@ CACHE BOOL "Use HepMC3 in the project" )
 
diff --git a/Projects/AthDerivation/cmake/PreConfig.cmake.in b/Projects/AthDerivation/cmake/PreConfig.cmake.in
index 82438fd6b3aa99d9d36ee849134160ab56d00659..65570ce2175406dcb988d8bc6dc8c6803c19219b 100644
--- a/Projects/AthDerivation/cmake/PreConfig.cmake.in
+++ b/Projects/AthDerivation/cmake/PreConfig.cmake.in
@@ -1,8 +1,14 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 #
 # Pre-config script to propagate variables to downstream projects
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # HepMC3
 set( HEPMC3_USE @HEPMC3_USE@ CACHE BOOL "Use HepMC3 in the project" )
 
diff --git a/Projects/AthGeneration/cmake/PreConfig.cmake.in b/Projects/AthGeneration/cmake/PreConfig.cmake.in
index 1f129085ae15fc96c5592f71465a063c576b2cf9..c4ce7fc4b998eb3ccf6c1af4246b5ac38a4b8f18 100644
--- a/Projects/AthGeneration/cmake/PreConfig.cmake.in
+++ b/Projects/AthGeneration/cmake/PreConfig.cmake.in
@@ -1,8 +1,14 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 #
 # Pre-config script to propagate variables to downstream projects
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # HepMC3
 set( HEPMC3_USE @HEPMC3_USE@ CACHE BOOL "Use HepMC3 in the project" )
 
diff --git a/Projects/AthSimulation/cmake/PreConfig.cmake.in b/Projects/AthSimulation/cmake/PreConfig.cmake.in
index 81687bfa7d257b3ba04338f24100629ce99159a1..ecde072d6c953fe6abc05a29c304a4ee0558d82b 100644
--- a/Projects/AthSimulation/cmake/PreConfig.cmake.in
+++ b/Projects/AthSimulation/cmake/PreConfig.cmake.in
@@ -1,8 +1,14 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 #
 # Pre-config script to propagate variables to downstream projects
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # HepMC3
 set( HEPMC3_USE @HEPMC3_USE@ CACHE BOOL "Use HepMC3 in the project" )
 
diff --git a/Projects/Athena/cmake/PreConfig.cmake.in b/Projects/Athena/cmake/PreConfig.cmake.in
index 63f74cebfeaab2975317f099a8b33e8e0cee44b4..b3ba6af0fe271289a04186c16c8de44c0dcb1b0a 100644
--- a/Projects/Athena/cmake/PreConfig.cmake.in
+++ b/Projects/Athena/cmake/PreConfig.cmake.in
@@ -1,8 +1,14 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 #
 # Pre-config script to propagate variables to downstream projects
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # HepMC3
 set( HEPMC3_USE @HEPMC3_USE@ CACHE BOOL "Use HepMC3 in the project" )
 
diff --git a/Projects/DetCommon/cmake/PreConfig.cmake.in b/Projects/DetCommon/cmake/PreConfig.cmake.in
index 31cee518deb3e60d59b44c6e767fec428d570b68..e3c0a1b6f2c695ebada593da3c64fa7880ff977f 100644
--- a/Projects/DetCommon/cmake/PreConfig.cmake.in
+++ b/Projects/DetCommon/cmake/PreConfig.cmake.in
@@ -1,9 +1,15 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 #
 # File taking care of pointing the downstream projects at the right
 # version of LCG.
 #
 
+# Set the C++ standard to use.
+set( CMAKE_CXX_STANDARD "@CMAKE_CXX_STANDARD@"
+   CACHE STRING "C++ standard used for the build" )
+set( CMAKE_CXX_EXTENSIONS "@CMAKE_CXX_EXTENSIONS@"
+   CACHE STRING "(Dis)Allow the usage of C++ extensions" )
+
 # Use the -pthread flag for the build instead of the -lpthread linker option,
 # if the main project was set up in that way.
 set( THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@ CACHE BOOL