mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-05 22:29:34 +00:00
Update CMakeLists.txt
Move `ASM` to Linux only To avoid `cannot open file 'dxguid.obj'` on Windows. Closes #26646
This commit is contained in:
parent
b352537279
commit
b1cf6c57b3
@ -19,9 +19,11 @@ include(cmake/validate_special_target.cmake)
|
|||||||
include(cmake/version.cmake)
|
include(cmake/version.cmake)
|
||||||
desktop_app_parse_version(Telegram/build/version)
|
desktop_app_parse_version(Telegram/build/version)
|
||||||
|
|
||||||
set(project_langs ASM C CXX)
|
set(project_langs C CXX)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
list(APPEND project_langs OBJC OBJCXX)
|
list(APPEND project_langs OBJC OBJCXX)
|
||||||
|
elseif (LINUX)
|
||||||
|
list(APPEND project_langs ASM)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
project(Telegram
|
project(Telegram
|
||||||
|
Loading…
Reference in New Issue
Block a user