Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
faressc committed Sep 29, 2023
1 parent 0875f44 commit 253ebb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/SetupLibTorch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ if (MSVC)
endif()
endif (MSVC)

list(APPEND CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/modules/libtorch-${LIBTORCH_VERSION}/")
find_package(Torch REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")

0 comments on commit 253ebb6

Please sign in to comment.