mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
CMake: use C11 as standard for all targets (#1909)
This makes the JSON module compile with GCC < 5 where the default was still C90
This commit is contained in:
parent
f26cebc309
commit
1bc210dcf9
@ -10,6 +10,8 @@ cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(Poco)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
file(STRINGS "${PROJECT_SOURCE_DIR}/libversion" SHARED_LIBRARY_VERSION)
|
||||
|
||||
# Read the version information from the VERSION file
|
||||
|
Loading…
Reference in New Issue
Block a user