From 01ee5029730010a35245fa485092179222601459 Mon Sep 17 00:00:00 2001 From: Jueon Park <52922372+pjueon@users.noreply.github.com> Date: Tue, 21 Nov 2023 08:31:36 +0900 Subject: [PATCH] Update GenerateModelHeader.cmake fix dependency --- cmake/GenerateModelHeader.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/GenerateModelHeader.cmake b/cmake/GenerateModelHeader.cmake index 9586d09..7c99d4b 100644 --- a/cmake/GenerateModelHeader.cmake +++ b/cmake/GenerateModelHeader.cmake @@ -8,7 +8,7 @@ add_custom_command( COMMAND chmod +x ${CMAKE_CURRENT_SOURCE_DIR}/scripts/generate_model_header.sh COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/scripts/generate_model_header.sh ${MODEL_HEADER_FILE} ${JETSON_MODELS} COMMAND ${CMAKE_COMMAND} -E echo "Model.h file has been created." - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt ${CMAKE_CURRENT_SOURCE_DIR}/scripts/generate_model_header.sh + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cmake/GenerateModelHeader.cmake ${CMAKE_CURRENT_SOURCE_DIR}/scripts/generate_model_header.sh COMMENT "Generating Model.h" )