TartanLlama / expected

C++11/14/17 std::expected with functional-style extensions

Home Page:https://tl.tartanllama.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version in CMakeLists.txt does not correspond to library version

Gueckmooh opened this issue · comments

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