From: Steffen Date: Sat, 7 Feb 2026 08:50:14 +0000 (+0000) Subject: fix(cmake): Enable assembler compiler conditionally (#1678) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Fccache.git fix(cmake): Enable assembler compiler conditionally (#1678) CMake will call `enable_language` for all languages passed to `project`. This deduplicates the work and only enables one assembler depending on the platform. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 470d4eb0..e342c61d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.18) -project(ccache LANGUAGES C CXX ASM ASM_MASM) +project(ccache LANGUAGES C CXX) if(MSVC) enable_language(ASM_MASM) else()