-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
CMake targets files are overwritten for shared library #30
Comments
For compliance with CFEP-18 (https://github.com/conda-forge/cfep/blob/master/cfep-18.md) I think we should simply remove the static builds, or if necessary add
@conda-forge/jsoncpp any preference? |
FWIW, I'd prefer just shipping the shared libraries. |
Any progress on this issue? Do I need to create a PR? |
I don't plant to tackle this until next week, so if you want to do a PR please go ahead, thanks! |
Issue:
The feedstock is currently building first for the shared library, and then for the static library. This is overwriting the shared cmake targets file installed to the environment with the static targets file, meaning that
jsoncpp_lib
is not defined afterfind_packag
is used. The build needs to either only build forjsoncpp_lib
, or patch the targets file so that it contains both the static and shared cmake target.The text was updated successfully, but these errors were encountered: