diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-24 02:38:05 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-24 03:27:17 +0200 |
commit | 67af0323f0599585825895144bcfcaea0e10bf46 (patch) | |
tree | 6da315a3c9007eaf7f98cc4a03d702beb1c76536 /src/video_core/host_shaders/StringShaderHeader.cmake | |
parent | Merge pull request #4618 from german77/GcAdapterAutoMap (diff) | |
download | yuzu-67af0323f0599585825895144bcfcaea0e10bf46.tar yuzu-67af0323f0599585825895144bcfcaea0e10bf46.tar.gz yuzu-67af0323f0599585825895144bcfcaea0e10bf46.tar.bz2 yuzu-67af0323f0599585825895144bcfcaea0e10bf46.tar.lz yuzu-67af0323f0599585825895144bcfcaea0e10bf46.tar.xz yuzu-67af0323f0599585825895144bcfcaea0e10bf46.tar.zst yuzu-67af0323f0599585825895144bcfcaea0e10bf46.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) |