mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2024-11-22 13:45:39 +00:00
Stop build from appending "dirty" to version string
This commit is contained in:
parent
662a0e3e19
commit
96ac00b41a
13
nodirtyversion.patch
Normal file
13
nodirtyversion.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 9af66009a1..2acd3bed9a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -149,7 +149,7 @@ if(GIT_FOUND)
|
||||
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
# defines DOLPHIN_WC_DESCRIBE
|
||||
- execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long --dirty
|
||||
+ execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long
|
||||
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
|
@ -75,6 +75,10 @@
|
|||
"type": "patch",
|
||||
"path": "forcexdg.patch"
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "nodirtyversion.patch"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "appdata.xml"
|
||||
|
|
Loading…
Reference in a new issue