Skip to content

Commit 93d3ebf

Browse files
committed
cmake: make target rayx-ui depend on shader compilation
1 parent 7c0792e commit 93d3ebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Intern/rayx-ui/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,6 @@ if(Vulkan_FOUND)
131131

132132
# Call the function to compile all shaders in the specified directory
133133
compile_shaders(RAYX_UI_COMPILE_SHADER "${PROJECT_SOURCE_DIR}/src/Shaders")
134+
add_dependencies(${PROJECT_NAME} RAYX_UI_COMPILE_SHADER)
134135
# ------------------------
135136
endif() # Vulkan_FOUND

0 commit comments

Comments
 (0)