diff --git a/CMakeLists.txt b/CMakeLists.txt index 163ea2c943..04bcdde4c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -980,6 +980,10 @@ else() set(DOLPHIN_WC_IS_STABLE "0") 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( "${PROJECT_SOURCE_DIR}/Source/Core/Common/scmrev.h.in" "${PROJECT_BINARY_DIR}/Source/Core/Common/scmrev.h"