-
-
Notifications
You must be signed in to change notification settings - Fork 317
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 does not install required files #381
Comments
Perhaps this issue would be better targeted to the jgm/cmark project. Sorry if it was made for the wrong project. |
It's exciting to learn that apple/swift is using cmark, but please advise them that @nwellnhof - is there a reason the static library isn't installed? |
On 04/12/2015 06:58, John MacFarlane wrote:
No, I don't see a reason not to install the static library by default. |
OK, I've changed the install target as suggested, |
I created a pull request to fix the |
Thank you. I was spinning my wheels trying to figure out what change needed to be made to the Swift code to use the cmark API properly. |
The cmake build system does not install all required header files, nor does it install the static library. Here is a patch which installs the needed files. The apple/swift project in particular includes cmark.h and node.h. cmark.h requires that cmark_export.h be available. node.h requires buffer.h, chunk.h, config.h, and cmark_ctype.h be available. Finally, swift links in libcmark.a directly. It should probably use pkgconfig and libcmark.pc to discover the proper link flags, but that is a separate issue.
The text was updated successfully, but these errors were encountered: