projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43302b0
)
Move patch command to variable
author
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 3 Mar 2015 17:35:22 +0000
(18:35 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 3 Mar 2015 17:35:22 +0000
(18:35 +0100)
external/squirrel/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/external/squirrel/CMakeLists.txt
b/external/squirrel/CMakeLists.txt
index
8a95f7f
..
d2bbecf
100644
(file)
--- a/
external/squirrel/CMakeLists.txt
+++ b/
external/squirrel/CMakeLists.txt
@@
-21,10
+21,10
@@
## Apply coverity patch to Squirrel?
SET(APPLY_COVERITY_PATCH TRUE)
-
+SET(PATCH_COMMAND patch -p1 --forward -i)
FIND_PROGRAM(PATCH_EXECUTABLE patch)
IF(PATCH_EXECUTABLE AND APPLY_COVERITY_PATCH)
- EXECUTE_PROCESS(COMMAND
patch -p1 --forward -i
squirrel_coverity.patch)
+ EXECUTE_PROCESS(COMMAND
${PATCH_COMMAND}
squirrel_coverity.patch)
ENDIF(PATCH_EXECUTABLE AND APPLY_COVERITY_PATCH)
## Add include/ to include directories