Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

Commit 17f763c

Browse files
authored
Merge pull request #224 from oblitorum/melodic
Fix misleading k4abt cmake message
2 parents f82f4bb + 81c8d6c commit 17f763c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmake/Findk4abt.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
4747
if(EXISTS ${_sdk_dir})
4848
set(_k4abt_lib_path "${_sdk_dir}/${RELATIVE_WIN_K4ABT_LIB_PATH}")
4949
if(NOT EXISTS "${_k4abt_lib_path}")
50-
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find k4a.lib at ${_k4abt_lib_path}")
50+
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find k4abt.lib at ${_k4abt_lib_path}")
5151
return()
5252
endif()
5353

5454
set(_k4abt_bin_path "${_sdk_dir}/${RELATIVE_WIN_K4ABT_DLL_PATH}")
5555
if(NOT EXISTS "${_k4abt_bin_path}")
56-
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find k4arecord.lib at ${_k4abt_bin_path}")
56+
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find k4abt.dll at ${_k4abt_bin_path}")
5757
return()
5858
endif()
5959

6060
set(_dnn_model_path "${_sdk_dir}/${RELATIVE_WIN_DNN_MODEL_PATH}")
6161
if(NOT EXISTS "${_dnn_model_path}")
62-
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find k4arecord.lib at ${_dnn_model_path}")
62+
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find dnn_model.onnx at ${_dnn_model_path}")
6363
return()
6464
endif()
6565

6666
set(_onnx_runtime_bin_path "${_sdk_dir}/${RELATIVE_WIN_ONNX_RUNTIME_DLL_PATH}")
6767
if(NOT EXISTS "${_onnx_runtime_bin_path}")
68-
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find k4a.dll at ${_onnx_runtime_bin_path}")
68+
quiet_message(WARNING "Rejecting SDK located at ${_sdk_dir}: Could not find onnxruntime.dll at ${_onnx_runtime_bin_path}")
6969
return()
7070
endif()
7171

0 commit comments

Comments
 (0)