From e984e95fa836c05f64cc5b9d92c709397a551e5e Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Tue, 14 Jan 2025 00:30:48 +0300 Subject: [PATCH] /apps/twnlua: make dependent on twn_api.json for rebuilding --- apps/twnlua/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/twnlua/CMakeLists.txt b/apps/twnlua/CMakeLists.txt index 1f4317d..95135cf 100644 --- a/apps/twnlua/CMakeLists.txt +++ b/apps/twnlua/CMakeLists.txt @@ -11,7 +11,7 @@ add_subdirectory($ENV{TWNROOT} $ENV{TWNBUILDDIR}) add_custom_command( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/luabind.c COMMAND ${PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/bindgen.py $ENV{TWNROOT}/share/twn_api.json > ${CMAKE_CURRENT_SOURCE_DIR}/luabind.c - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bindgen.py + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bindgen.py $ENV{TWNROOT}/share/twn_api.json )