Version in CMakeLists.txt does not correspond to library version
Gueckmooh opened this issue · 0 comments
Gueckmooh commented
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