]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Prefer C11 with a fallback to C99
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 12 Jun 2024 11:26:44 +0000 (14:26 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 15:56:17 +0000 (18:56 +0300)
commit4e4a568f6a089c867891c2388a19624e312eb2f3
tree4b5c04652b82d9e28faaa9c80f7450941023aebe
parent849e757a8cce41bfd6acfaa7dd3b07324363de90
CMake: Prefer C11 with a fallback to C99

There is no need to make a similar change in configure.ac.
With Autoconf 2.72, the deprecated macro AC_PROG_CC_C99
is an alias for AC_PROG_CC which prefers a C11 compiler.

(cherry picked from commit 2178acf8a4d40a93e970cfcf9b807d5ef6c8da92)
CMakeLists.txt