build-deps - include ccache for convenience

This commit is contained in:
Andrej730
2025-10-06 12:56:21 +05:00
parent 44b9dd64f6
commit 921241fbdd
3 changed files with 31 additions and 2 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ if((BUILD_CONVERT OR BUILD_GEOMSERVER OR BUILD_IFCPYTHON) AND(NOT BUILD_IFCGEOM)
endif()
if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_FOUND}")
if(MSVC)
# By default Visual Studio generators will use /Zi which is not compatible
# with ccache, so tell Visual Studio to use /Z7 instead.