Skip to content
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

feat: target_include_directories #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shirok1
Copy link

@shirok1 shirok1 commented Jul 6, 2022

Add target_include_directories to CMakeLists.txt so that Trt.h can be automatically added to include path when tinytrt be in target_link_libraries

CMakeLists.txt 中使用 target_include_directories 来 include 根目录,这样使用 target_link_libraries 链接到 tinytrt 时会自动将(含有 Trt.h 的)根目录加入到 include,方便将本库作为子模块使用。

shirok1 added 3 commits July 6, 2022 15:36
Add target_include_directories to CMakeLists.txt so that Trt.h can be automatically added to include path when `tinytrt` be in `target_link_libraries`
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