diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-23 19:01:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 19:01:16 +0200 |
commit | 3e46934442a77a2e009a17ee48739c28dbe02d46 (patch) | |
tree | c74da5853aac50c581eac6c08695a8c66acd0a8e /src/video_core/host_shaders/StringShaderHeader.cmake | |
parent | Merge pull request #4792 from bunnei/rtc-fix (diff) | |
parent | video_core: Fix instances where msbuild always regenerated host shaders (diff) | |
download | yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.tar yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.tar.gz yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.tar.bz2 yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.tar.lz yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.tar.xz yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.tar.zst yuzu-3e46934442a77a2e009a17ee48739c28dbe02d46.zip |
Diffstat (limited to 'src/video_core/host_shaders/StringShaderHeader.cmake')
-rw-r--r-- | src/video_core/host_shaders/StringShaderHeader.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/host_shaders/StringShaderHeader.cmake b/src/video_core/host_shaders/StringShaderHeader.cmake index 368bce0ed..c0fc49768 100644 --- a/src/video_core/host_shaders/StringShaderHeader.cmake +++ b/src/video_core/host_shaders/StringShaderHeader.cmake @@ -8,4 +8,6 @@ string(TOUPPER ${CONTENTS_NAME} CONTENTS_NAME) file(READ ${SOURCE_FILE} CONTENTS) +get_filename_component(OUTPUT_DIR ${HEADER_FILE} DIRECTORY) +make_directory(${OUTPUT_DIR}) configure_file(${INPUT_FILE} ${HEADER_FILE} @ONLY) |