Update CMakeLists.txt

This commit is contained in:
Andrea Cavalli 2020-12-27 11:14:41 +01:00
parent 68c9a14e8d
commit 8231ceea60

View File

@ -114,10 +114,10 @@ if (NOT CMAKE_CROSSCOMPILING)
add_dependencies(build_tl_parser configure_tl_parser) add_dependencies(build_tl_parser configure_tl_parser)
if (WIN32 OR CYGWIN) if (WIN32 OR CYGWIN)
set(TL_PARSER_BIN "${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/build/Debug/tl-parser") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/build")
else() set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/tl-parser/build")
set(TL_PARSER_BIN ./tl-parser/build/tl-parser)
endif() endif()
set(TL_PARSER_BIN ./tl-parser/build/tl-parser)
add_custom_target(generate_mtproto_api_tlo add_custom_target(generate_mtproto_api_tlo
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}