From 3a620225a908ada64265a3510dbd30bdee84d476 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 14 Nov 2020 16:54:24 +0100 Subject: [PATCH] Fix .tlo generation for macos --- td/generate/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/td/generate/CMakeLists.txt b/td/generate/CMakeLists.txt index 56c78a9d9..13ce6bae9 100644 --- a/td/generate/CMakeLists.txt +++ b/td/generate/CMakeLists.txt @@ -112,7 +112,7 @@ if (NOT CMAKE_CROSSCOMPILING) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${GENERATE_COMMON_CMD} COMMENT "Generate common tl source files" - DEPENDS generate_common scheme/telegram_api.tlo scheme/secret_api.tlo ${TL_TD_API_TLO} DoxygenTlDocumentationGenerator.php + DEPENDS generate_common scheme/telegram_api.tlo scheme/secret_api.tlo scheme/td_api.tlo DoxygenTlDocumentationGenerator.php ) if (TD_ENABLE_JNI) target_compile_definitions(generate_common PRIVATE TD_ENABLE_JNI=1) @@ -189,7 +189,7 @@ if (NOT CMAKE_CROSSCOMPILING) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND generate_c COMMENT "Generate C tl source files" - DEPENDS generate_c ${TL_TD_API_TLO} + DEPENDS generate_c scheme/td_api.tlo ) add_dependencies(tl_generate_c generate_td_api_tlo) @@ -202,7 +202,7 @@ if (NOT CMAKE_CROSSCOMPILING) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND generate_json COMMENT "Generate JSON tl source files" - DEPENDS generate_json ${TL_TD_API_TLO} + DEPENDS generate_json scheme/td_api.tlo ) add_dependencies(tl_generate_json generate_td_api_tlo) @@ -225,7 +225,7 @@ if (NOT CMAKE_CROSSCOMPILING) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${GENERATE_DOTNET_API_CMD} ${TL_TD_API_TLO} COMMENT "Generate .NET API files" - DEPENDS td_generate_dotnet_api ${TL_TD_API_TLO} DotnetTlDocumentationGenerator.php + DEPENDS td_generate_dotnet_api scheme/td_api.tlo DotnetTlDocumentationGenerator.php ) endif()