Commit 69db797e authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed ccache detection condition

parent 84ecf4b1
...@@ -13,7 +13,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang") ...@@ -13,7 +13,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
set(CMAKE_COMPILER_IS_GNUCC 1) set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_COMPILER_IS_CLANGCC 1) set(CMAKE_COMPILER_IS_CLANGCC 1)
endif() endif()
if("${CMAKE_CXX_COMPILER};${CMAKE_CXX_COMPILER}" MATCHES "ccache") if("${CMAKE_CXX_COMPILER};${CMAKE_C_COMPILER}" MATCHES "ccache")
set(CMAKE_COMPILER_IS_CCACHE 1) set(CMAKE_COMPILER_IS_CCACHE 1)
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment