]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix asm compiler detection (#644)
authorAlexander Lanin <alex@lanin.de>
Thu, 27 Aug 2020 19:18:56 +0000 (21:18 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Aug 2020 19:18:56 +0000 (21:18 +0200)
CMake requires ASM to be the last parameter so it can try whether the C compiler can compile asm.
See https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1560/diffs

CMakeLists.txt

index 38c347b532a41080837dc3eeb0387c98dddc37dd..edd06ae14299896b252df5720037c75781083a64 100644 (file)
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.4.3)
 
-project(ccache LANGUAGES ASM C CXX)
+project(ccache LANGUAGES C CXX ASM)
 set(CMAKE_PROJECT_DESCRIPTION "a fast C/C++ compiler cache")
 
 set(CMAKE_CXX_STANDARD 11)