From: Letu Ren Date: Thu, 14 Dec 2023 07:27:08 +0000 (+0800) Subject: Remove duplicate enable tests option X-Git-Tag: 2.1.6~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb753015a5d5e48853a6e5ad9d6140c5ee246c3a;p=thirdparty%2Fzlib-ng.git Remove duplicate enable tests option There are two identical ZLIB_ENABLE_TESTS option in CMakeLists.txt which means the latter one is meaningless. This issue is introduced in https://github.com/zlib-ng/zlib-ng/commit/ce1a64b5147b874a2dd32920765be333f54e7095 which adds the option to top but forgets to remove the original one. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 41f8dd0fb..4f5b6cf51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1223,7 +1223,6 @@ endif() # Example binaries #============================================================================ -option(ZLIB_ENABLE_TESTS "Build test binaries" ON) if(ZLIB_ENABLE_TESTS) enable_testing()