From 90a4316acaf6d97c888cec27825bf786a9304ca0 Mon Sep 17 00:00:00 2001 From: oov Date: Thu, 16 Jun 2022 22:29:17 +0900 Subject: [PATCH] fix build --- src/c/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c/CMakeLists.txt b/src/c/CMakeLists.txt index 8585a6e..77ffc61 100644 --- a/src/c/CMakeLists.txt +++ b/src/c/CMakeLists.txt @@ -42,6 +42,7 @@ set_target_properties(gentransmap PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/util" ) list(APPEND targets gentransmap) +add_dependencies(gentransmap generate_version_h) add_custom_target(generate_transmap COMMAND ${CMAKE_COMMAND} -E copy "${PROJECT_SOURCE_DIR}/src/lua/_iniobj.lua" "_iniobj.lua" COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/util/gentransmap.lua" "gentransmap.lua"