diff options
Diffstat (limited to 'games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch')
-rw-r--r-- | games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch b/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch index a89b53e63d34..177287810c94 100644 --- a/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch +++ b/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch @@ -1,17 +1,16 @@ We let users enable ccache by themselves. Avoids sandbox violation. - https://bugs.gentoo.org/813768 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,11 +54,6 @@ if(NOT VERSION_NUM) - endif() - endif() - --find_program(CCACHE_PROGRAM ccache) --if(CCACHE_PROGRAM) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") --endif() -- - if(VERSION_NUM MATCHES untagged) - project(DevilutionX - LANGUAGES C CXX) + endif()
+ endif()
+
+-find_program(CCACHE_PROGRAM ccache)
+-if(CCACHE_PROGRAM)
+- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
+-endif()
+-
+ if(VERSION_NUM MATCHES untagged)
+ project(DevilutionX
+ LANGUAGES C CXX)
|