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
+6 -1
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"
+1 -1
Submodule cmake updated: b3f3876c5f...872027e466