mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Set required C standard to C99 with extensions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user