Skip to content

Commit 09e88ab

Browse files
authored
build: fix typo related to finding ccache (AcademySoftwareFoundation#4833)
Wow, my fingers are so used to typing "exr", and I don't use the OS that would make me ever type "exe", so... Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent f0552d6 commit 09e88ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cmake/compiler.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ if (CCACHE_EXE AND USE_CCACHE)
239239
message (STATUS "Ignoring ccache because clang + Qt + env CCACHE_CPP2 is not set")
240240
else ()
241241
if (NOT ${CXX_COMPILER_LAUNCHER} MATCHES "ccache")
242-
set (CXX_COMPILER_LAUNCHER ${CCACHE_EXR} ${CXX_COMPILER_LAUNCHER})
242+
set (CXX_COMPILER_LAUNCHER ${CCACHE_EXE} ${CXX_COMPILER_LAUNCHER})
243243
endif ()
244244
if (NOT ${C_COMPILER_LAUNCHER} MATCHES "ccache")
245-
set (C_COMPILER_LAUNCHER ${CCACHE_EXR} ${C_COMPILER_LAUNCHER})
245+
set (C_COMPILER_LAUNCHER ${CCACHE_EXE} ${C_COMPILER_LAUNCHER})
246246
endif ()
247247
message (STATUS "ccache enabled: ${CCACHE_EXE}")
248248
endif ()

0 commit comments

Comments
 (0)