Skip to content

Replace ZLIB_ENABLE_TESTS with BUILD_TESTING#965

Merged
nmoinvaz merged 1 commit intozlib-ng:developfrom
pmqs:zlib-ng
Mar 12, 2026
Merged

Replace ZLIB_ENABLE_TESTS with BUILD_TESTING#965
nmoinvaz merged 1 commit intozlib-ng:developfrom
pmqs:zlib-ng

Conversation

@pmqs
Copy link
Contributor

@pmqs pmqs commented Mar 10, 2026

Sorts out this warning

-- Fetching zlib https://github.com/zlib-ng/zlib-ng stable
-- Using CMake version 3.31.6-msvc6
-- ZLIB_HEADER_VERSION: 1.3.1
-- ZLIBNG_HEADER_VERSION: 2.3.3
CMake Deprecation Warning at third_party/zlib/CMakeLists.txt:54 (message):
  ZLIB_ENABLE_TESTS is deprecated.  Please use BUILD_TESTING instead.
-- Arch detected: 'x86_64'
...

-- The following features have been disabled:

 * ZLIB_SYMBOL_PREFIX, Publicly exported symbols DO NOT have a custom prefix
 * ZLIB_COMPAT, Compile with zlib compatible API
 * BUILD_TESTING, Build test binaries

@nmoinvaz
Copy link
Member

Rebased.

@nmoinvaz nmoinvaz enabled auto-merge (rebase) March 12, 2026 01:59
@nmoinvaz nmoinvaz added the build system Build system and script changes label Mar 12, 2026
@nmoinvaz nmoinvaz merged commit 811d287 into zlib-ng:develop Mar 12, 2026
29 checks passed
@pmqs pmqs deleted the zlib-ng branch March 12, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build system Build system and script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants