Update CMakeLists.txt and tl-parser

This commit is contained in:
Andrea Cavalli 2020-12-24 12:52:54 +01:00
parent f29e56d0ca
commit 6cc3b9b02c
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ if (NOT CMAKE_CROSSCOMPILING)
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/build)
add_custom_target(configure_tl_parser
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/build
COMMAND cmake -DCMAKE_BUILD_TYPE=Release ../
COMMAND cmake -DCMAKE_BUILD_TYPE=Debug ../
COMMENT "Configure tl-parser"
DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl
)
@ -116,7 +116,7 @@ if (NOT CMAKE_CROSSCOMPILING)
add_custom_target(build_tl_parser
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/build
COMMAND ${CMAKE_COMMAND} --build . --config Release
COMMAND ${CMAKE_COMMAND} --build .
COMMENT "Build tl-parser"
DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl
)

@ -1 +1 @@
Subproject commit 6ff5d408d84d5e388b1ea3d6b0432d28238d879d
Subproject commit c478b339e0e353dee3c9fc432980c04d1b702d21