diff options
author | Raul Tambre <raul@tambre.ee> | 2021-02-06 16:59:23 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-02-25 16:22:10 (GMT) |
commit | dcd599757f215fa8eba3b5e40d4b1c52eb5b3919 (patch) | |
tree | 0ac036cb48e1916e08ebd5d50a9828732c056da9 /Tests/CompileFeatures/CMakeLists.txt | |
parent | 93b7d3d29221f98388c7fa20568cd0b769a26774 (diff) | |
download | CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.zip CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.tar.gz CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.tar.bz2 |
C23 support
Diffstat (limited to 'Tests/CompileFeatures/CMakeLists.txt')
-rw-r--r-- | Tests/CompileFeatures/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt index 046b858..7771967 100644 --- a/Tests/CompileFeatures/CMakeLists.txt +++ b/Tests/CompileFeatures/CMakeLists.txt @@ -237,6 +237,7 @@ if (C_expected_features) if (std_flag_idx EQUAL -1) add_executable(default_dialect_C default_dialect.c) target_compile_definitions(default_dialect_C PRIVATE + DEFAULT_C23=$<EQUAL:${CMAKE_C_STANDARD_DEFAULT},23> DEFAULT_C17=$<EQUAL:${CMAKE_C_STANDARD_DEFAULT},17> DEFAULT_C11=$<EQUAL:${CMAKE_C_STANDARD_DEFAULT},11> DEFAULT_C99=$<EQUAL:${CMAKE_C_STANDARD_DEFAULT},99> |