Skip to content

Commit

Permalink
[CMake] Enforce C++14 being available
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Jun 5, 2023
1 parent 69370d6 commit 4df2c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/XRootDOSDefs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ define_default( LIBRARY_PATH_PREFIX "lib" )
# Enable c++14
#-------------------------------------------------------------------------------
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)

if( ENABLE_ASAN )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
Expand Down

0 comments on commit 4df2c73

Please sign in to comment.