Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version in CMakeLists.txt does not correspond to library version #153

Open
Gueckmooh opened this issue Nov 26, 2023 · 0 comments
Open

Version in CMakeLists.txt does not correspond to library version #153

Gueckmooh opened this issue Nov 26, 2023 · 0 comments

Comments

@Gueckmooh
Copy link

When using tag v1.1.0 and package from pacman, cmake complains that version is 1.0.0 even though version is 1.1.0.

Reproduction steps (on arch linux):

find_package(tl-expected "1.1.0")

result:

CMake Warning at CMakeLists.txt:100 (find_package):
  Could not find a configuration file for package "tl-expected" that is
  compatible with requested version "1.1.0".

  The following configuration files were considered but not accepted:

    /usr/share/cmake/tl-expected/tl-expected-config.cmake, version: 1.0.0

Installed version:

$ pacman -Ss expected
# ...
extra/tl-expected 1.1.0-1 [installed]
    C++11/14/17 std::expected with functional-style extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant