-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
build: use absolute path for cmarkTargets.cmake #327
Conversation
CC: @nwellnhof |
Adjust the include of the CMake file to use a cmarkConfig.cmake relative location which enables use without considerations for the path.
@nwellnhof - do you think it is better to just substitute in the absolute path instead from CMake? |
I have no idea. |
@jgm what do you think of merging this as is; once it is merged, I can update the version being used in Swift and we can revisit that if it is an issue. |
I really don't understand the implications of this change. (Sorry, cmake is a mystery to me.) Can you explain a bit more fully? |
Oh, sure. The change is related to CMake's concepts of export targets - it allows for you to specify a set of targets which can then be used by another project. One way of using them is without installation of the library to the system. This allows you to build a static version of a library (e.g. cmark) and then directly link that into your program with proper dependency tracking across the projects. This mechanism works through a file that is emitted which is |
OK, sounds like a good idea then. |
I think this change would have needed to modify the |
…ut-formats Add other output formats to the quadratic fuzzer
Adjust the include of the CMake file to use a cmarkConfig.cmake relative
location which enables use without considerations for the path.