Update CMakeLists.txt

This commit is contained in:
Andrea Cavalli 2020-10-25 14:56:56 +01:00
parent 8fa4a610a4
commit a22797e390

View File

@ -125,7 +125,7 @@ if (NOT CMAKE_CROSSCOMPILING)
if (WIN32 OR CYGWIN)
add_custom_target(build_tl_parser
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/contrib/vs/
COMMAND msbuild tl-parser.sln -t:Rebuild -p:Configuration=Release
COMMAND cmd /C msbuild tl-parser.sln -t:Rebuild -p:Configuration=Release
COMMENT "Build tl-parser"
DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl
)