Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix out-of-tree building #48

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

DaveRichmond
Copy link

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.

  • I have thoroughly tested my contribution.
  • The code I submitted has no copyright issues.

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

@GongT
Copy link
Contributor

GongT commented Aug 8, 2019

"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 GongT closed this Aug 8, 2019
@GongT
Copy link
Contributor

GongT commented Aug 8, 2019

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

@GongT GongT reopened this Aug 8, 2019
@@ -10,6 +10,7 @@ if (NOT BUILDING_SDK)
### source code sdk
include_directories(${SDK_ROOT}/lib/arch/include ${SDK_ROOT}/lib/utils/include)
add_subdirectory(${SDK_ROOT}/lib SDK)
add_subdirectory(${SDK_ROOT}/third_party THIRD_PARTY)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use spaces?

@cmdrf
Copy link

cmdrf commented Dec 6, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants