Skip to content

Commit

Permalink
Fix asm compiler detection (ccache#644)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AlexanderLanin authored Aug 27, 2020
1 parent 2b5c33b commit cfa72bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit cfa72bd

Please sign in to comment.