Update CMakeLists.txt
This commit is contained in:
parent
2029fe7650
commit
23725f0c34
@ -113,7 +113,14 @@ if (NOT CMAKE_CROSSCOMPILING)
|
|||||||
)
|
)
|
||||||
add_dependencies(build_tl_parser configure_tl_parser)
|
add_dependencies(build_tl_parser configure_tl_parser)
|
||||||
|
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
if (WIN32 OR CYGWIN)
|
||||||
|
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
|
||||||
|
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
|
||||||
|
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
|
||||||
|
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
|
||||||
|
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
|
||||||
|
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
|
||||||
|
endif()
|
||||||
set(TL_PARSER_BIN ./tl-parser/build/tl-parser)
|
set(TL_PARSER_BIN ./tl-parser/build/tl-parser)
|
||||||
|
|
||||||
add_custom_target(generate_mtproto_api_tlo
|
add_custom_target(generate_mtproto_api_tlo
|
||||||
|
Loading…
Reference in New Issue
Block a user