greg7mdp / parallel-hashmap

A family of header-only, very fast and memory-friendly hashmap and btree containers.
https://greg7mdp.github.io/parallel-hashmap/
Apache License 2.0
2.47k stars 234 forks source link

is it possible to miss the necessary .cmake in the conda packaging? #228

Closed chakpongchung closed 7 months ago

chakpongchung commented 8 months ago
  By not providing "Findphmap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "phmap", but
  CMake did not find one.

  Could not find a package configuration file provided by "phmap" with any of
  the following names:

    phmapConfig.cmake
    phmap-config.cmake

  Add the installation prefix of "phmap" to CMAKE_PREFIX_PATH or set
  "phmap_DIR" to a directory containing one of the above files.  If "phmap"
  provides a separate development package or SDK, be sure it has been
  installed.

I cannot find it in my conda env after it is installed.

(cpp20) cpchung@cpchung:~/.../cmake-build-debug$ find ~/miniconda3/envs/cpp20/ -name "*phmapConfig.cmake"

(cpp20) cpchung@cpchung:~/.../cmake-build-debug$ 

(cpp20) cpchung@cpchung:~/.../cmake-build-debug$ conda list | grep parallel-hashmap
parallel-hashmap          1.33                 hca92ed8_0    conda-forge
(cpp20) cpchung@cpchung:~/.../cmake-build-debug$ 
greg7mdp commented 7 months ago

The Find<PackageName>.cmake file is not typically provided by the package itself. Rather, it is normally provided by something external to the package, such as the operating system, CMake itself, or even the project from which the find_package() command was called.