diff options
| author | 2021-07-20 03:13:51 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 594ea29015c8fe8ebd93acad0aa3572799c3a896 (patch) | |
| tree | 59fc86f4d9c9223a18f07081a20201975852a458 /CMakeModules | |
| parent | qt: Remove "experimental" from asynchronous shader building UI (diff) | |
| download | yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.gz yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.tar.xz yuzu-594ea29015c8fe8ebd93acad0aa3572799c3a896.zip | |
cmake: Remove unused code in GenerateSCMRev.cmake
Remove shader code hash generation code as it's no longer used.
Diffstat (limited to 'CMakeModules')
| -rw-r--r-- | CMakeModules/GenerateSCMRev.cmake | 13 |
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) | |||
| 48 | endif() | 48 | endif() |
| 49 | endif() | 49 | endif() |
| 50 | 50 | ||
| 51 | # The variable SRC_DIR must be passed into the script (since it uses the current build directory for all values of CMAKE_*_DIR) | 51 | # The variable SRC_DIR must be passed into the script |
| 52 | set(VIDEO_CORE "${SRC_DIR}/src/video_core") | 52 | # (since it uses the current build directory for all values of CMAKE_*_DIR) |
| 53 | set(HASH_FILES | ||
| 54 | # ... | ||
| 55 | ) | ||
| 56 | set(COMBINED "") | ||
| 57 | foreach (F IN LISTS HASH_FILES) | ||
| 58 | file(READ ${F} TMP) | ||
| 59 | set(COMBINED "${COMBINED}${TMP}") | ||
| 60 | endforeach() | ||
| 61 | string(MD5 SHADER_CACHE_VERSION "${COMBINED}") | ||
| 62 | configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY) | 53 | configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY) |