Skip to content

Commit

Permalink
[Torch] fix TORCH_FOUND condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MatPont committed Jul 17, 2024
1 parent 5b08003 commit 2d0fbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/base/TTKBaseConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (@TTK_ENABLE_QHULL@ AND @Qhull_FOUND@)
find_dependency(Qhull REQUIRED)
endif()

if (@TTK_ENABLE_TORCH@ AND @TORCH_FOUND@)
if (@TTK_ENABLE_TORCH@)
set(Torch_DIR "@Torch_DIR@" CACHE PATH "Use TTK Torch dir" FORCE)
find_dependency(Torch REQUIRED @Torch_DIR@)
endif()
Expand Down

0 comments on commit 2d0fbbc

Please sign in to comment.