Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mradugin authored Jul 14, 2024
1 parent 9f583b8 commit 6c3e877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Findccache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ if (CCACHE_FOUND)
# Support Unix Makefiles and Ninja
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
if (CMAKE_SYSTEM_NAME MATCHES "MSYS")
#if (CMAKE_SYSTEM_NAME MATCHES "MSYS")
message(WARNING "before: ${CMAKE_C_COMPILER}")
FILE(TO_CMAKE_PATH ${CMAKE_C_COMPILER} CMAKE_C_COMPILER)
FILE(TO_CMAKE_PATH ${CMAKE_CXX_COMPILER} CMAKE_CXX_COMPILER)
message(WARNING "after: ${CMAKE_C_COMPILER}")
endif()
#endif()
else()
message(WARNING "Unsupported generator for compiler cache: ${CMAKE_GENERATOR}")
set(CCACHE_SUPPORTED NO)
Expand Down

0 comments on commit 6c3e877

Please sign in to comment.