Skip to content

Conversation

@tejlmand
Copy link
Contributor

@tejlmand tejlmand commented Oct 22, 2024

Fixes: #80200

CMake find_package(<package> <version>) support the use of ranges, like 1.0.0...4.0.0.

Update the FindZephyr-sdk.cmake module to support this. This allows looking up the Zephyr SDK with an upper boundry, for example find_package(Zephyr-sdk 0.16...<0.17).

Fixes: zephyrproject-rtos#80200

CMake `find_package(<package> <version>)` support the use of ranges,
like `1.0.0...4.0.0`.

Update the FindZephyr-sdk.cmake module to support this.
This allows looking up the Zephyr SDK with an upper boundry, for example
`find_package(Zephyr-sdk 0.16...<0.17)`.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
@tejlmand tejlmand force-pushed the toolchain/zephyr_sdk_range_lookup branch from 1b34eef to a3fb8c5 Compare October 22, 2024 08:25
@carlescufi carlescufi merged commit ff6be05 into zephyrproject-rtos:main Oct 24, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMake: Find package with version ranges are ignored for Zephyr SDK

5 participants