From dca3c20c66e8bbe0f8031ad6b173fdee60451bb9 Mon Sep 17 00:00:00 2001 From: Shintaro SAKODA Date: Tue, 30 Jan 2024 18:39:13 +0900 Subject: [PATCH] Added warning msg Signed-off-by: Shintaro SAKODA --- localization/nerf_based_localizer/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/localization/nerf_based_localizer/CMakeLists.txt b/localization/nerf_based_localizer/CMakeLists.txt index 15635131448e4..5cabbb500575f 100644 --- a/localization/nerf_based_localizer/CMakeLists.txt +++ b/localization/nerf_based_localizer/CMakeLists.txt @@ -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()