-
Notifications
You must be signed in to change notification settings - Fork 7.3k
cmake failure using ExternalProject and dependancies w/ninja #7760
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
Comments
This is due to the dependencies being wrong. I would recommend reading and then having a look at how the dependencies are set up. An example of this working in practice can be seen in the toplevel CMakeLists.txt
|
I've read the link, but not sure I quite follow or understand how the dependancies are wrong in the case of this issue. |
Pretty sure this is due to the lack of BUILD_BYPRODUCTS. See https://stackoverflow.com/questions/40314785/linking-against-an-externalproject-add-dependency-in-cmake |
This commit proves that this is related to BUILD_BYPRODUCTS. The patch needs to be cleaned up before it can be usptreamed though. |
bug in a sample, this should not be blocking a release, so move to low priority |
@tejlmand Can you take a look at this and see how we should fix it. |
Fixed building with ninja adding BUILD_BYPRODUCTS based on suggestion from @SebastianBoe in issue zephyrproject-rtos#7760. Fixes zephyrproject-rtos#7760 Signed-off-by: Anas Nashif <[email protected]>
@galak Will do |
The following testcase fails:
./scripts/sanitycheck -p lpcxpresso54114_m4 -s samples/subsys/ipc/ipm_mcux/test -N
We get the following error:
The text was updated successfully, but these errors were encountered: