mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] make C and C++ standards configurable
use cache variables to allow overriding them from command line
This commit is contained in:
3
cmake/ProjectCStandard.cmake
Normal file
3
cmake/ProjectCStandard.cmake
Normal file
@@ -0,0 +1,3 @@
|
||||
set(CMAKE_C_STANDARD 11 CACHE STRING "project default")
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON CACHE BOOL "project default")
|
||||
set(CMAKE_C_EXTENSIONS ON CACHE BOOL "project default")
|
||||
Reference in New Issue
Block a user