Skip to content

Conversation

@LecrisUT
Copy link

@LecrisUT LecrisUT commented Jun 7, 2025

See #1784 for more details

There are some design changes that I want to highlight here that should be resolved earlier on

set_property(TARGET shared PROPERTY CXX_STANDARD 17)

target_include_directories(shared PRIVATE include resource)
target_link_libraries(shared PUBLIC LibXml2::LibXml2)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About this thing, c/shared/include/ctlshare.h has an #include <libxml/tree.h> so all consumers of shared includes must propagate the libxml includes, thus the PUBLIC linkage here. The issue is that the consumers of the includes do not consume shared, instead they consume the includes via target_include_directories(rotatefont PRIVATE ../shared/include) which bypasses the modern CMake designs. Could you look into fixing these issues?

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

Successfully merging this pull request may close these issues.

1 participant