Set required C standard to C99 with extensions
This commit is contained in:
parent
5fd3bf7c0c
commit
cb27338bf4
@ -22,6 +22,10 @@ cmake_minimum_required(VERSION 3.4)
|
||||
|
||||
project(FreeRDP C)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS ON)
|
||||
|
||||
if(NOT DEFINED VENDOR)
|
||||
set(VENDOR "FreeRDP" CACHE STRING "FreeRDP package vendor")
|
||||
endif()
|
||||
|
@ -27,6 +27,10 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
project(RdTk VERSION ${RDTK_VERSION} LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS ON)
|
||||
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
|
||||
set(WINPR_VERSION_MAJOR 3)
|
||||
|
@ -27,6 +27,10 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
project(uwac VERSION ${UWAC_VERSION} LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS ON)
|
||||
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
||||
|
@ -19,6 +19,10 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
project(WinPR LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS ON)
|
||||
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
option(WITH_LIBRARY_VERSIONING "Use library version triplet" ON)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user