-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ninja missing byproducts on clean build #45
Comments
codeinred
added a commit
to codeinred/Clarabel.cpp
that referenced
this issue
Jun 6, 2024
Build fails if ninja isn't aware of the byproducts for libclarabel_c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you download the repository fresh, and attempt to build with Ninja, the build fails with the following error:
This is because Ninja can't find libclarabel_c.a/libclarabel_c.dylib, and the
libclarabel_c
custom target doesn't inform Ninja that it produces these libraries.This can be handled by adding LIBCLARABEL_C_SHARED_PATH and LIBCLARABEL_C_STATIC_PATH as byproducts of the call to add_custom_target
The text was updated successfully, but these errors were encountered: