Skip to content

Commit e3bfc9b

Browse files
committed
Shader compile fix for linux
1 parent f018086 commit e3bfc9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Intern/rayx-ui/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ if(Vulkan_FOUND)
7171
# ---- Compile Shaders ----
7272
# Function to compile shaders
7373
function(compile_shaders target shaders_dir)
74+
set(OUTPUT_DIR "${CMAKE_BINARY_DIR}/bin/shaders")
75+
file(MAKE_DIRECTORY ${OUTPUT_DIR})
7476
# Get a list of all shader files in the specified directory
7577
file(GLOB SHADER_FILES "${shaders_dir}/*.frag" "${shaders_dir}/*.vert")
7678

0 commit comments

Comments
 (0)