Minimum CMake version needs to be incremented #53

Closed
opened 2021-01-30 00:08:18 -06:00 by philipstarkey · 1 comment
philipstarkey commented 2021-01-30 00:08:18 -06:00 (Migrated from github.com)

The readme indicates that cmake v3.12 is required at a minimum. This seems to be incorrect, as I get the following error when configuring cmake for the pico-examples repository:

[cmake] CMake Error at pico-sdk/src/rp2_common/boot_stage2/CMakeLists.txt:24 (target_link_options):
[cmake]   Unknown CMake command "target_link_options".

The documentation for cmake indicates target_link_options was added in v3.13. I suggest updating the readme and value in cmake_minimum_required (probably also in the pico-examples repo as well as here). The SDK/getting started PDF's might also need updating.

FYI, platform is Windows 10 but I don't think that matters as the cmake docs are pretty clear this was added in 3.13.

I also haven't yet tested with v3.13 explicitly, so I can't discount other things requiring an even higher version!

The readme indicates that cmake v3.12 is required at a minimum. This seems to be incorrect, as I get the following error when configuring cmake for the pico-examples repository: ``` [cmake] CMake Error at pico-sdk/src/rp2_common/boot_stage2/CMakeLists.txt:24 (target_link_options): [cmake] Unknown CMake command "target_link_options". ``` The [documentation for cmake](https://cmake.org/cmake/help/latest/command/target_link_options.html) indicates `target_link_options` was added in v3.13. I suggest updating the readme and value in `cmake_minimum_required` (probably also in the pico-examples repo as well as here). The SDK/getting started PDF's might also need updating. FYI, platform is Windows 10 but I don't think that matters as the cmake docs are pretty clear this was added in 3.13. I also haven't yet tested with v3.13 explicitly, so I can't discount other things requiring an even higher version!
Wren6991 commented 2021-01-31 16:17:36 -06:00 (Migrated from github.com)

Thanks, should be fixed by #61

Thanks, should be fixed by #61
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#53
No description provided.