Update CMakeLists.txt

This commit is contained in:
Andrea Cavalli 2020-10-25 11:45:46 +01:00
parent 580bb13962
commit dd3bf5b289

View File

@ -125,7 +125,7 @@ if (NOT CMAKE_CROSSCOMPILING)
if (WIN32 OR CYGWIN) if (WIN32 OR CYGWIN)
add_custom_target(build_tl_parser add_custom_target(build_tl_parser
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/contrib/vs/ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/contrib/vs/
COMMAND "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\Current\\Bin\\MSBuild.exe" .\tl-parser.sln COMMAND MSBuild.exe .\tl-parser.sln
COMMENT "Build tl-parser" COMMENT "Build tl-parser"
DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl
) )