Bug #89135 -DWITH_ZLIB=system breaks cmake feature tests

Submitted: 8 Jan 2018 15:30 Modified: 6 Mar 2018 17:39
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.5 OS:Any
Assigned to: CPU Architecture:Any

[8 Jan 2018 15:30] Tor Didriksen
Description:
The cmake code for checking "system" zlib resets CMAKE_REQUIRED_LIBRARIES
This may break any subsequent feature tests.

How to repeat:
Build on Solaris -DWITH_ZLIB=system, InnoDB feature tests will fail.

Suggested fix:
Don't reset CMAKE_REQUIRED_LIBRARIES, as setup by configure.cmake
[6 Mar 2018 17:39] Paul DuBois
Posted by developer:
 
Fixed in 5.7.22, 8.0.5.

-DWITH_ZLIB=system could cause other CMake feature tests to fail.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.