Skip to content

{cmake} FindLibuuid vs FindLibUUID #77

@asmaloney

Description

@asmaloney

I'm replacing an older UUID lib with stduuid.

The old one used FindLibUUID in its cmake files and it worked fine on Debian with cmake and uuid-dev installed (GitLab CI).

When I switched my stuff to stduuid, it is using FindLibuuid (lowercase uuid) and now my CI fails:

CMake Error at lib/extern/stduuid/CMakeLists.txt:32 (find_package):
  By not providing "FindLibuuid.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Libuuid", but
  CMake did not find one.

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

    LibuuidConfig.cmake
    libuuid-config.cmake

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

Looking at CMake, they include FindLibUUID as a module which is what I assume was being found before.

Is there another package I need to install on Debian to get FindLibuuid to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions