mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user