Unverified Commit 3f222e81 authored by bmanga's avatar bmanga Committed by GitHub
Browse files

Replace include directory variable in CMakeConfig.cmake.in (#2805)

parent fef2c8a5
......@@ -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@)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment