summaryrefslogtreecommitdiff
path: root/games/ppsspp/ppsspp-no-ccache.patch
blob: d8884925e45c1bf186c47f1478f8dd2f2ad7f3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -u -r ppsspp-2016.07.25_fa3f219-orig/CMakeLists.txt ppsspp-2016.07.25_fa3f219/CMakeLists.txt
--- ppsspp-2016.07.25_fa3f219-orig/CMakeLists.txt	2016-08-02 05:10:55.000000000 +0100
+++ ppsspp-2016.07.25_fa3f219/CMakeLists.txt	2016-08-02 21:56:56.983679009 +0100
@@ -33,20 +33,6 @@
 	endif()
 endif()
 
-# Using ccache greatly improves the speed of our CI builds, let's enable for all.
-# Without this, our CI can't use ccache for clang, for some reason.
-find_program(CCACHE_FOUND ccache)
-if(CCACHE_FOUND)
-	set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
-	set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
-
-	# ccache uses -I when compiling without preprocessor, which makes clang complain.
-	if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-		set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Qunused-arguments -fcolor-diagnostics")
-		set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Qunused-arguments -fcolor-diagnostics")
-	endif()
-endif(CCACHE_FOUND)
-
 # Remove soon?
 set(USE_FFMPEG ON)