Increase C standard to C11
This commit is contained in:
parent
a0ca2b4a6e
commit
1aacf504a1
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user