mpm: Bump C++ version to 20

This matches the UHD version and allows using advanced C++ constructs in
MPM also.
This commit is contained in:
Martin Braun 2025-10-09 12:05:12 +02:00 committed by mkoop-ni
parent 9cd00e74af
commit 0ca6dd7f56

View File

@ -112,7 +112,7 @@ include(GNUInstallDirs)
########################################################################
# Setup library configuration
########################################################################
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 20)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-Wno-psabi" _has_no_psabi)
# -Wno-psabi lets us know if the gcc ABI changed and would cause binaries