mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02: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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue