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

Export header file #29

Open
Explosiontime202 opened this issue Mar 4, 2025 · 0 comments
Open

Export header file #29

Explosiontime202 opened this issue Mar 4, 2025 · 0 comments

Comments

@Explosiontime202
Copy link

I am currently trying to include the project into my CMake project using FetchContent. So far, so good. The issue is that the header files are not publicly exported in your CMakeLists.txt.

Added the following line in line 84 would solve the issue:

set_target_properties(osqp-cpp PROPERTIES PUBLIC_HEADER "include/osqp++.h")

I can also provide a PR.

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

No branches or pull requests

1 participant