Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

SDK • Re: pico_sdk_import.cmake question

$
0
0
When you say "Environment" what are you referring to specifically?

PICO_SDK_PATH is in fact defined under System Environment Variables and contains a valid path on my machine.

The if branch in the cmake file is not being executed, as if the condition is false.

If I remove the second part of the condition:

Code:

 AND (NOT PICO_SDK_PATH)
The if statement runs and executes correctly in the cmake file.

So my question is System Environment Variables the "Environment" you're referring to? If so, that if branch doesn't work properly.

Statistics: Posted by LemonPi — Tue Mar 05, 2024 4:34 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles