tdesktop/Telegram/cmake/td_iv.cmake

36 lines
796 B
CMake
Raw Normal View History

# This file is part of Telegram Desktop,
# the official desktop application for the Telegram messaging service.
#
# For license and copyright information please follow this link:
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
add_library(td_iv OBJECT)
init_non_host_target(td_iv)
add_library(tdesktop::td_iv ALIAS td_iv)
target_precompile_headers(td_iv PRIVATE ${src_loc}/iv/iv_pch.h)
nice_target_sources(td_iv ${src_loc}
PRIVATE
iv/iv_controller.cpp
iv/iv_controller.h
iv/iv_data.cpp
iv/iv_data.h
iv/iv_pch.h
iv/iv_prepare.cpp
iv/iv_prepare.h
)
target_include_directories(td_iv
PUBLIC
${src_loc}
)
target_link_libraries(td_iv
PUBLIC
desktop-app::lib_ui
tdesktop::td_scheme
PRIVATE
desktop-app::lib_webview
tdesktop::td_lang
)