diff options
-rw-r--r-- | Install.txt | 5 | ||||
-rw-r--r-- | ReleaseNotes.txt | 3 | ||||
-rw-r--r-- | src/libical-glib/CMakeLists.txt | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Install.txt b/Install.txt index cd9507c0..30b4de99 100644 --- a/Install.txt +++ b/Install.txt @@ -10,11 +10,12 @@ passing -DCMAKE_INSTALL_PREFIX=/install/path to cmake. To build a debug version pass -DCMAKE_BUILD_TYPE=Debug to cmake. To build libical you will need: + - a C99-compliant C compiler (let us know if the build fails with your C compiler) + - a C11-compliant C compiler for libical-glib + - a C++11 compliant compiler for C++ bindings - CMake version 3.11.0 or higher - Perl - libicu (not required but strongly recommended) - - a C99-compliant C compiler (let us know if the build fails with your C compiler) - - for C++ bindings, a C++11 compliant compiler Building on Unix with gcc or clang: % mkdir build diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 30f86fa9..57a95536 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -6,7 +6,8 @@ Version 3.1.0 (NOT RELEASED YET): * MSVC 2013 or higher (when building on Windows with MSVC) * For the C++ bindings, a C++11 compliant complier is required * Requires CMake v3.11.0 or higher - * libical-glib now requires glib 2.38 or higher + * libical-glib requires glib 2.38 or higher + * libical-glib requires a C11 compliant compiler * draft-ietf-calext-eventpub-extensions-19 (RFC 9073) support added * draft-ietf-calext-valarm-extensions-07 (RFC 9074) support added * Allow previous recurrence iteration diff --git a/src/libical-glib/CMakeLists.txt b/src/libical-glib/CMakeLists.txt index de5e6210..6e7cf424 100644 --- a/src/libical-glib/CMakeLists.txt +++ b/src/libical-glib/CMakeLists.txt @@ -1,5 +1,9 @@ add_definitions(-Dlibical_ical_EXPORTS) +# a C11 compliant compiler is required to build this library +set(CMAKE_C_STANDARD 11) +set(CMAKE_C_STANDARD_REQUIRED ON) + # build ical-glib-src-generator add_executable(ical-glib-src-generator tools/generator.c |