Allow to build with generators other than Xcode on mac

This commit is contained in:
Ilya Fedin 2021-07-20 10:06:22 +04:00 committed by John Preston
parent b922839490
commit 46d5fc1fa0
2 changed files with 7 additions and 2 deletions

View File

@ -14,8 +14,13 @@ include(cmake/validate_special_target.cmake)
include(cmake/version.cmake)
desktop_app_parse_version(Telegram/build/version)
set(project_langs C CXX)
if (APPLE)
set(project_langs C CXX OBJC OBJCXX)
endif()
project(Telegram
LANGUAGES C CXX
LANGUAGES ${project_langs}
VERSION ${desktop_app_version_cmake}
DESCRIPTION "Official Telegram Desktop messenger"
HOMEPAGE_URL "https://desktop.telegram.org"

2
cmake

@ -1 +1 @@
Subproject commit b3f3876c5fe1aade09b96b60540b4e2e0adaed5a
Subproject commit 872027e466611376db002709ce3db4b6dd432808