mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-28 05:37:36 -05:00
CCache: Set as opt-in by default
This commit is contained in:
@@ -110,6 +110,7 @@ option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence, show the current gam
|
||||
option(USE_MGBA "Enables GBA controllers emulation using libmgba" ON)
|
||||
option(ENABLE_AUTOUPDATE "Enables support for automatic updates" ON)
|
||||
option(USE_RETRO_ACHIEVEMENTS "Enables integration with retroachievements.org" ON)
|
||||
option(ENABLE_CCACHE "Enables CCache compiler cache" OFF)
|
||||
|
||||
# Maintainers: if you consider blanket disabling this for your users, please
|
||||
# consider the following points:
|
||||
@@ -207,8 +208,12 @@ if (WIN32)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# setup CCache
|
||||
include(CCache)
|
||||
if(ENABLE_CCACHE)
|
||||
include(CCache)
|
||||
if(NOT CCACHE_BIN)
|
||||
message(WARNING "Ccache was enabled but not found. This build will not use Ccache.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Architecture detection and arch specific settings
|
||||
message(STATUS "Detected architecture: ${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
||||
Reference in New Issue
Block a user