| Bug #90804 | Disallow cmake policy CMP0026 LOCATION property for build targets | ||
|---|---|---|---|
| Submitted: | 9 May 2018 10:30 | Modified: | 22 May 2018 17:34 |
| Reporter: | Tor Didriksen | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any | |
[22 May 2018 17:34]
Paul DuBois
Posted by developer: Fixed in 8.0.12. Code cleanup. No changelog entry needed.

Description: old behaviour for CMP0026 was removed by the patch for Bug#26612465 BUILDING WITH CMAKE 3.9.0 OR NEWER GIVES DEPRECATION WARNINGS This policy should now be explicitly set to NEW. How to repeat: Read the code. Suggested fix: # Disallow use of the LOCATION property for build targets. IF(POLICY CMP0026) CMAKE_POLICY(SET CMP0026 NEW) ENDIF()