Skip to content

Commit

Permalink
Increase C standard to C11
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth committed Jun 3, 2022
1 parent a0ca2b4 commit 1aacf50
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion rdtk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 4 additions & 0 deletions server/proxy/modules/capture/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion uwac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion winpr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1aacf50

Please sign in to comment.