Skip to content

feat: target_include_directories#64

Open
shirok1 wants to merge 3 commits intozerollzeng:masterfrom
shirok1:patch-1
Open

feat: target_include_directories#64
shirok1 wants to merge 3 commits intozerollzeng:masterfrom
shirok1:patch-1

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