Skip to content

CMake version specification doesn't work #572

@rutsky

Description

@rutsky

I'm using GLM version 0.9.8.1 from Debian package on 64-bit GNU/Linux (https://packages.debian.org/sid/libglm-dev).
When I'm trying to specify in my CMakeLists.txt minimal required GLM version:

find_package(glm 0.9.8 REQUIRED)

I get CMake error:

CMake Error at CMakeLists.txt:21 (find_package):
  Could not find a configuration file for package "glm" that is compatible
  with requested version "0.9.8".

  The following configuration files were considered but not accepted:

    /usr/lib/cmake/glm/glmConfig.cmake, version: unknown



*** cmake process exited with exit code 1.

Requirement without version specification works fine:

find_package(glm REQUIRED)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions