kendryte / kendryte-freertos-sdk

This project is no longer maintained Not recommended for product development.
Apache License 2.0
201 stars 67 forks source link

Fix out-of-tree building #48

Open DaveRichmond opened 5 years ago

DaveRichmond commented 5 years ago

Pull request for the patch provided in issue #30. In tree building still appears to work fine with this change, so I can only assume it doesn't have any side effects.

Out of tree project building failed because the third_party libraries within the sdk weren't included in the sdks cmake files.

GongT commented 5 years ago

"add_subdirectory(third_party)" should be in CMakeLists.example.txt (and already in CMakeLists.txt)

I think your issue is about miss-synchronize between CMakeLists.example.txt and CMakeLists.txt.

GongT commented 5 years ago

Ok, I found it's ok to write this here, reopen this, please wait for review.

cmdrf commented 4 years ago

I had the same issue. It would be cool to merge this (after fixing indentation).