]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove duplicate enable tests option
authorLetu Ren <fantasquex@gmail.com>
Thu, 14 Dec 2023 07:27:08 +0000 (15:27 +0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 17 Dec 2023 00:35:00 +0000 (01:35 +0100)
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.

CMakeLists.txt

index 41f8dd0fb7067288114f76683b819267ed1bf34f..4f5b6cf5171cf785aab86850a0a9b3bbed4f4473 100644 (file)
@@ -1223,7 +1223,6 @@ endif()
 # Example binaries
 #============================================================================
 
-option(ZLIB_ENABLE_TESTS "Build test binaries" ON)
 if(ZLIB_ENABLE_TESTS)
     enable_testing()