From b1cf6c57b31dfbf11296b9daf7ed00bc5c8f6ddb Mon Sep 17 00:00:00 2001 From: c0re100 Date: Mon, 14 Aug 2023 12:36:31 +0800 Subject: [PATCH] Update CMakeLists.txt Move `ASM` to Linux only To avoid `cannot open file 'dxguid.obj'` on Windows. Closes #26646 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2979473c4c..9248d33c78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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