Skip to content

Commit

Permalink
Added warning msg
Browse files Browse the repository at this point in the history
Signed-off-by: Shintaro SAKODA <[email protected]>
  • Loading branch information
SakodaShintaro committed Jan 30, 2024
1 parent 90c7f77 commit dca3c20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions localization/nerf_based_localizer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ find_package(Torch PATHS ${CMAKE_SOURCE_DIR}/external/libtorch NO_DEFAULT_PATH)

# skip if libtorch is not found
if(NOT Torch_FOUND)
message(WARNING "libtorch is not found, so the nerf_based_localizer package won't be built.")
return()
endif()

Expand Down

0 comments on commit dca3c20

Please sign in to comment.