[Bug 267038] devel/robin-hood-hashing: enable CMake support via vendor install

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Oct 2022 07:45:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267038

            Bug ID: 267038
           Summary: devel/robin-hood-hashing: enable CMake support via
                    vendor install
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Created attachment 237288
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237288&action=edit
v1 (apply via "git am")

Required to unbundle robin-hood-hashing in graphics/vulkan-validation-layers,
see
https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/v1.3.230/CMakeLists.txt#L242

Looking at https://repology.org/project/robin-hood-hashing/versions it seems
CRUX, Gentoo, Solus, Vcpkg, Void pass -DRH_STANDALONE_PROJECT=OFF in order to
avoid building tests.

$ echo 'find_package(robin_hood REQUIRED)' >CMakeLists.txt
$ cmake -Wno-dev .
[...]
CMake Error at CMakeLists.txt:1 (find_package):
  By not providing "Findrobin_hood.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "robin_hood", but CMake did not find one.

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

    robin_hoodConfig.cmake
    robin_hood-config.cmake

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

-- 
You are receiving this mail because:
You are the assignee for the bug.