Increase C standard to C11

This commit is contained in:
akallabeth 2022-05-25 15:14:36 +02:00 committed by akallabeth
parent a0ca2b4a6e
commit 1aacf504a1
5 changed files with 8 additions and 4 deletions

View File

@ -22,7 +22,7 @@ cmake_minimum_required(VERSION 3.9)
project(FreeRDP C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)

View File

@ -27,7 +27,7 @@ if (NOT FREERDP_UNIFIED_BUILD)
cmake_minimum_required(VERSION 3.9)
project(RdTk VERSION ${RDTK_VERSION} LANGUAGES C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)

View File

@ -23,6 +23,10 @@ cmake_minimum_required(VERSION 3.9)
project(proxy-capture-plugin VERSION 1.0.0 LANGUAGES C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)
include(CheckIPOSupported)
check_ipo_supported(RESULT supported OUTPUT error)
if (supported)

View File

@ -27,7 +27,7 @@ if (NOT FREERDP_UNIFIED_BUILD)
cmake_minimum_required(VERSION 3.9)
project(uwac VERSION ${UWAC_VERSION} LANGUAGES C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)

View File

@ -19,7 +19,7 @@ if (NOT FREERDP_UNIFIED_BUILD)
cmake_minimum_required(VERSION 3.9)
project(WinPR LANGUAGES C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)