]> git.ipfire.org Git - thirdparty/zstd.git/commit
Don't require CMake 3.18 or later
authorSutou Kouhei <kou@clear-code.com>
Tue, 14 Feb 2023 21:38:50 +0000 (06:38 +0900)
committerNick Terrell <nickrterrell@gmail.com>
Thu, 16 Feb 2023 18:08:45 +0000 (10:08 -0800)
commit8420502ef9d5980d2297c88f80d19ae18f84f6df
tree82f330f8d56609b1a97a4db636c1a4bfcd94b82d
parent1c42844668a4e269b5b656270ed61d2e51991c6a
Don't require CMake 3.18 or later

fix #3500

CMake 3.18 or later was required by #3392. Because it uses
`CheckLinkerFlag`. But requiring CMake 3.18 or later is a bit
aggressive. Because Ubuntu 20.04 LTS still uses CMake 3.16.3:
https://packages.ubuntu.com/search?keywords=cmake

This change disables `-z noexecstack` check with old CMake. This will
not break any existing users. Because users who need `-z noexecstack`
must already use CMake 3.18 or later.
build/cmake/CMakeModules/AddZstdCompilationFlags.cmake