Skip to content

added public target-includes that provide the proper include paths fo…#2

Open
ingowald wants to merge 3 commits intonemequ:masterfrom
ingowald:master
Open

added public target-includes that provide the proper include paths fo…#2
ingowald wants to merge 3 commits intonemequ:masterfrom
ingowald:master

Conversation

@ingowald
Copy link

@ingowald ingowald commented Jan 2, 2022

Adding "modern cmake"-style target-includes for the static minilzo library, such that any project using this as a git submodule will automatically import the proper directories when linking to this library.

This allows the parent CMakeLists.txt to simply do the following:
add_subdirectory(/lzo)
....
target_link_libraries(myLib PUBLIC lzo_static_lib)

include paths will then automatically get imported through the static-lib's target includes.

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