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:
Pascal Bach 2017-09-27 17:00:49 +02:00 committed by Aleksandar Fabijanic
parent f26cebc309
commit 1bc210dcf9

View File

@ -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