From 99d5fd38ec4560f7972dbf34795ad62cc591ad31 Mon Sep 17 00:00:00 2001 From: silverqx Date: Fri, 20 Oct 2023 18:20:04 +0200 Subject: [PATCH] cmake added comments --- cmake/CommonModules/TinyHelpers.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/CommonModules/TinyHelpers.cmake b/cmake/CommonModules/TinyHelpers.cmake index 54735e9d8..7dea97e8c 100644 --- a/cmake/CommonModules/TinyHelpers.cmake +++ b/cmake/CommonModules/TinyHelpers.cmake @@ -491,15 +491,17 @@ function(tiny_fix_ccache) # MSYS2 g++ or clang++ work well with the precompiled headers but the msvc doesn't - # Fixes for the MSVC compiler + # Fixes for the MSVC compiler (including the clang-cl with MSVC) set(shouldFixCcacheMsvc FALSE) tiny_should_fix_ccache_msvc(shouldFixCcacheMsvc) if(shouldFixCcacheMsvc) tiny_fix_ccache_msvc() + + # The early return() can be here, but I chose not to add it endif() - # Fixes for the Clang compiler + # Fixes for the Clang compiler on Linux and MSYS2 (excluding the clang-cl with MSVC) # Ignore PCH timestamps if the ccache is used (recommended in ccache docs) set(shouldFixCcacheClang FALSE) tiny_should_fix_ccache_clang(shouldFixCcacheClang)