From 147c87a7be8ec303acc7002791e1026ad965e409 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 27 Aug 2026 11:42:53 +0500 Subject: [PATCH] cmake: move `USE_CCACHE` closer to other options --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 7791d85d11..b5aabd84b8 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -134,6 +134,7 @@ option(USERSPACE_PYTHON_PREFIX "Installs IfcPython for the current user only ins option(USE_DEBUG_PYTHON "Use debug binaries when building Debug IfcPython on Windows." OFF) option(ADD_COMMIT_SHA "Add commit sha and branch in version number, requires git" OFF) option(VERSION_OVERRIDE "Use VERSION as the branch label when commit information is embedded" OFF) +option(USE_CCACHE "Use ccache as a compiler launcher if it is found" OFF) set( PYTHON_MODULE_INSTALL_DIR @@ -178,7 +179,6 @@ if((BUILD_CONVERT OR BUILD_GEOMSERVER OR BUILD_IFCPYTHON) AND(NOT BUILD_IFCGEOM) set(BUILD_IFCGEOM ON) endif() -option(USE_CCACHE "Use ccache as a compiler launcher if it is found" OFF) if(USE_CCACHE) find_program(CCACHE_FOUND ccache) if(CCACHE_FOUND)