Skip to content

Commit 69db797

Browse files
committed
Fixed ccache detection condition
1 parent 84ecf4b commit 69db797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVDetectCXXCompiler.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
1313
set(CMAKE_COMPILER_IS_GNUCC 1)
1414
set(CMAKE_COMPILER_IS_CLANGCC 1)
1515
endif()
16-
if("${CMAKE_CXX_COMPILER};${CMAKE_CXX_COMPILER}" MATCHES "ccache")
16+
if("${CMAKE_CXX_COMPILER};${CMAKE_C_COMPILER}" MATCHES "ccache")
1717
set(CMAKE_COMPILER_IS_CCACHE 1)
1818
endif()
1919

0 commit comments

Comments
 (0)