mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
In CMake, check for and remove in-tree scmrev.h generated by Visual Studio
This commit is contained in:
parent
05869734ed
commit
45afab7d5d
@ -980,6 +980,10 @@ else()
|
|||||||
set(DOLPHIN_WC_IS_STABLE "0")
|
set(DOLPHIN_WC_IS_STABLE "0")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Remove in-tree revision information generated by Visual Studio
|
||||||
|
# This is because the compiler will check in-tree first and use this, even if it is outdated
|
||||||
|
file(REMOVE "${PROJECT_SOURCE_DIR}/Source/Core/Common/scmrev.h")
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
"${PROJECT_SOURCE_DIR}/Source/Core/Common/scmrev.h.in"
|
"${PROJECT_SOURCE_DIR}/Source/Core/Common/scmrev.h.in"
|
||||||
"${PROJECT_BINARY_DIR}/Source/Core/Common/scmrev.h"
|
"${PROJECT_BINARY_DIR}/Source/Core/Common/scmrev.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user