Blosc / python-blosc

A Python wrapper for the extremely fast Blosc compression library

Home Page:https://www.blosc.org/python-blosc/python-blosc.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blosc_ROOT cmake warning: Policy CMP0074 is not set

sreerajkksd opened this issue · comments

I'm trying to use an installed blosc library when installing python-blosc by following the instructinos in the homepage and it looks like it fails with:

CMake Warning (dev) at blosc/CMakeLists.txt:5 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable Blosc_ROOT is set to:

    /home/sreerajkksd/rhel-blosc

  Environment variable Blosc_ROOT is set to:

    /home/sreerajkksd/rhel-blosc

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- No Blosc library found.  Using internal sources.

Is this something that you guys have seen before ?

Build fails after this step as it could not find the library and the headers at BLOSC ROOT.

I think you can disregard the CMP0074 message, which is specific to CMake >= 3.12:

This warning is for project developers. Use -Wno-dev to suppress it.

Secondly, the installed Blosc library has not been found:

-- No Blosc library found. Using internal sources.

It is not really a failure as far as I can tell. Simply the installed library cannot be found. Where has it been installed?

No activity since long time. Closing.