Skip to content

Commit 7333cc2

Browse files
FlamefireFlow86
authored andcommitted
Move EnableCCache include after submodule check
It is in libutil which may not exist or be up to date, so check those first
1 parent 65d5d90 commit 7333cc2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ endif()
2424

2525
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules" "${CMAKE_SOURCE_DIR}/external/libutil/cmake")
2626

27-
include(EnableCCache)
28-
2927
set(checkSubmodules FALSE)
3028
# Figure out RTTR_REVISION (git hash) and RTTR_VERSION (date)
3129
# Those can be manually set to override the default values
@@ -73,6 +71,7 @@ endif()
7371

7472
# Just include required
7573
include(EnsureOutOfSourceBuild)
74+
include(EnableCCache)
7675

7776
if(APPLE)
7877
set(CMAKE_INSTALL_RPATH "@executable_path" "@executable_path/../Frameworks")

0 commit comments

Comments
 (0)