mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 11:32:43 +01:00
Merge pull request #3869 from delroth/out-of-git
Provide better scmrev defaults without .git
This commit is contained in:
commit
96acd3e7ff
@ -143,6 +143,14 @@ else()
|
|||||||
set(DOLPHIN_VERSION_PATCH ${DOLPHIN_WC_REVISION})
|
set(DOLPHIN_VERSION_PATCH ${DOLPHIN_WC_REVISION})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# If Dolphin is not built from a Git repository, default the version info to
|
||||||
|
# reasonable values.
|
||||||
|
if(NOT DOLPHIN_WC_REVISION)
|
||||||
|
set(DOLPHIN_WC_DESCRIBE "${DOLPHIN_VERSION_MAJOR}.${DOLPHIN_VERSION_MINOR}")
|
||||||
|
set(DOLPHIN_WC_REVISION "${DOLPHIN_WC_DESCRIBE} (no further info)")
|
||||||
|
set(DOLPHIN_WC_BRANCH "master")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Architecture detection and arch specific settings
|
# Architecture detection and arch specific settings
|
||||||
message(${CMAKE_SYSTEM_PROCESSOR})
|
message(${CMAKE_SYSTEM_PROCESSOR})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user