Skip to content

Commit 2623448

Browse files
take-cheezefacebook-github-bot
authored andcommitted
Match case of package name to suppress warning (pytorch#35201)
Summary: Kitware/CMake@ee4673c `find_package(Torch)` is used most of the time: https://pytorch.org/cppdocs/installing.html Pull Request resolved: pytorch#35201 Differential Revision: D20627251 Pulled By: albanD fbshipit-source-id: edc151ca437f1f0a778b9834db481bbc887cb9f5
1 parent fce6780 commit 2623448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/TorchConfig.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ if (TORCH_CXX_FLAGS)
127127
set_property(TARGET torch PROPERTY INTERFACE_COMPILE_OPTIONS "${TORCH_CXX_FLAGS}")
128128
endif()
129129

130-
find_package_handle_standard_args(torch DEFAULT_MSG TORCH_LIBRARY TORCH_INCLUDE_DIRS)
130+
find_package_handle_standard_args(Torch DEFAULT_MSG TORCH_LIBRARY TORCH_INCLUDE_DIRS)

0 commit comments

Comments
 (0)