Description
Describe the bug
CMake find_package()
supports the use of ranges since CMake 3.19, however using version ranges together with Zephyr SDK are ignored.
For example the following line: find_package(Zephyr-sdk 0.16...<0.17)
results in Zephyr SDK v0.17 being selected on a system where both Zephyr SDK 0.16.9 and 0.17.0 are installed.
Expected behavior
Zephyr SDK 0.16.9 being selected.
Impact
Unexpected Zephyr SDK selected.
Logs and console output
Environment (please complete the following information):
- OS: Linux
- Toolchain : Zephyr SDK 0.16.9, 0.17.0
Additional context
N/A