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

SDK • Re: pico_sdk_import.cmake question

$
0
0
This appears different than what was posted above.
Yes. It's showing that PCO_SDK_PATH has already been set.

As it's being explicitly set one wouldn't expect the 'if' to be actioned, though it will if you remove the check that it hasn't been set as you proved.

But as it's already set correctly - ignore the direction of slashes because CMake will - why do you need the code in the 'if' to execute as it will simply set it to what it already is.

So again; what actual problem did you encounter which set you off on your adventure ?

Statistics: Posted by hippy — Thu Mar 07, 2024 9:52 am



Viewing all articles
Browse latest Browse all 4983

Trending Articles