Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
3f222e81
Unverified
Commit
3f222e81
authored
Oct 14, 2020
by
bmanga
Committed by
GitHub
Oct 14, 2020
Browse files
Replace include directory variable in CMakeConfig.cmake.in (#2805)
parent
fef2c8a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmake/TorchVisionConfig.cmake.in
cmake/TorchVisionConfig.cmake.in
+1
-1
No files found.
cmake/TorchVisionConfig.cmake.in
View file @
3f222e81
...
...
@@ -32,7 +32,7 @@ if(NOT TARGET Python3::Python)
find_package(Python3 COMPONENTS Development)
endif()
set_target_properties(TorchVision::TorchVision PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${
PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL
_INCLUDEDIR
@
" INTERFACE_LINK_LIBRARIES "torch;Python3::Python" )
set_target_properties(TorchVision::TorchVision PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${
${PN}
_INCLUDE
_
DIR
}
" INTERFACE_LINK_LIBRARIES "torch;Python3::Python" )
if(@WITH_CUDA@)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment