Skip to content

Commit

Permalink
Replace include directory variable in CMakeConfig.cmake.in (pytorch#2805
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bmanga authored and bryant1410 committed Nov 22, 2020
1 parent 6614f07 commit 4c3cc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/TorchVisionConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@)
Expand Down

0 comments on commit 4c3cc12

Please sign in to comment.