Open sjahr opened 2 years ago
This shouldn't happen after https://github.com/ericniebler/range-v3/commit/4abf6d6149c6c845d3ff84b395a37de01b104372.
It seems like this commit is not part of any released version, or am I mistaken? The Debian release in focal is 0.10.0 and on jamming 0.11.0. Are there any plans to create a new release in the future that includes this fix?
I've installed range-v3 via apt-get install on Ubuntu 20.04 and run into the following error when I try to build a project with colcon that has multiple dependencies that depend on range-v3:
After investigating the error a bit, I figured out that colcon uses a custom CMake macro that calls
find_package(range-v3 REQUIRED)
multiple times in the same context. From my understanding, this should not cause any problems, so I am wondering if the error is somewhere within range-v3's CMake files.You can reproduce the error on Ubuntu 20.04 after installing
sudo apt-get install librange-v3-dev
and try to build the minimal example you find attached (min_range_v3_error.zip) withIn the CMakeLists.txt file, I call find_package twice which causes the error
Do you think this is a small bug on the range-v3 side or are we including range-v3 incorrect as a dependency? Thanks in advance for your help!