[MDEV-21908] cmake 3.17.0 warning rocksdb Created: 2020-03-10  Updated: 2022-08-04

Status: Open
Project: MariaDB Server
Component/s: Compiling, Storage Engine - RocksDB
Affects Version/s: 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.3

Type: Bug Priority: Minor
Reporter: Vladislav Vaintroub Assignee: Sergei Petrunia
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Got the below warning today while compiling 10.5 with the latest greatest CMake 3.17rc
(downloads available on the cmake download side)

Maybe it fixed in the mainline, I did not check. Anyway, something needs to be done about it
at some point.

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (bzip2) does
  not match the name of the calling package (BZIP2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  storage/rocksdb/rocksdb/cmake/modules/Findbzip2.cmake:17 (find_package_handle_standard_args)
  storage/rocksdb/build_rocksdb.cmake:39 (FIND_PACKAGE)
  storage/rocksdb/CMakeLists.txt:144 (INCLUDE)


Generated at Thu Feb 08 09:10:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.