[Bug]: The libgar
library building from source expose its interface to its dependencies
#70
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
Current Behavior
When I use gar library in my project with
target_link_libraries(my_example PUBLIC ${GAR_LIBRARIES})
and build my project
got error:
it looks like the target link libraries has inherited the gar library's dependency.
https://github.com/alibaba/GraphAr/blob/e8edfe38aa776f091dce24f4480fae06827194f4/CMakeLists.txt#L170-L172
Expected Behavior
DO NOT inherit the dependencies interface of GraphAr in user's project
Minimal Reproducible Example
Environment
Link to GraphAr Logs
No response
Further Information
No response
The text was updated successfully, but these errors were encountered: