mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +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)
|
||||
desktop_app_parse_version(Telegram/build/version)
|
||||
|
||||
set(project_langs ASM C CXX)
|
||||
set(project_langs C CXX)
|
||||
if (APPLE)
|
||||
list(APPEND project_langs OBJC OBJCXX)
|
||||
elseif (LINUX)
|
||||
list(APPEND project_langs ASM)
|
||||
endif()
|
||||
|
||||
project(Telegram
|
||||
|
|
Loading…
Add table
Reference in a new issue