]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Add warning options for GCC and Clang
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 15 Jun 2024 15:07:04 +0000 (18:07 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 20 Jun 2024 12:00:05 +0000 (15:00 +0300)
commitea379f2f180befabd2039342db8eaeb757fdd2b7
tree126e54ea293ef1375865173c4943b23ac6dab003
parent74223338197b7dfcd69f56df78b6502805a75f23
CMake: Add warning options for GCC and Clang

The list was copied from configure.ac and should be kept in sync.
(Pretend that the deleted comment in CMakeLists.txt didn't exist.)

There is no need to add equivalent of --enable-werror as CMake >= 3.24
supports -DCMAKE_COMPILE_WARNING_AS_ERROR=ON.
CMakeLists.txt