summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-07-20 08:13:51 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit594ea29015c8fe8ebd93acad0aa3572799c3a896 (patch)
tree59fc86f4d9c9223a18f07081a20201975852a458
parentqt: Remove "experimental" from asynchronous shader building UI (diff)
downloadyuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar
yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.gz
yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.bz2
yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.lz
yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.xz
yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.zst
yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.zip
-rw-r--r--CMakeModules/GenerateSCMRev.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake
index 77358768e..43ca730ec 100644
--- a/CMakeModules/GenerateSCMRev.cmake
+++ b/CMakeModules/GenerateSCMRev.cmake
@@ -48,15 +48,6 @@ if (BUILD_REPOSITORY)
endif()
endif()
-# The variable SRC_DIR must be passed into the script (since it uses the current build directory for all values of CMAKE_*_DIR)
-set(VIDEO_CORE "${SRC_DIR}/src/video_core")
-set(HASH_FILES
- # ...
-)
-set(COMBINED "")
-foreach (F IN LISTS HASH_FILES)
- file(READ ${F} TMP)
- set(COMBINED "${COMBINED}${TMP}")
-endforeach()
-string(MD5 SHADER_CACHE_VERSION "${COMBINED}")
+# The variable SRC_DIR must be passed into the script
+# (since it uses the current build directory for all values of CMAKE_*_DIR)
configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY)