Skip to content

Commit

Permalink
Fix linux builds, ensure manual android builds does not compile shade…
Browse files Browse the repository at this point in the history
…rs (must use pre-compiled)
  • Loading branch information
1runeberg committed Nov 2, 2024
1 parent 5aa18e7 commit d15057b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ add_custom_command(TARGET ${XRLIB} POST_BUILD


# Compile shaders only if we're not in an android build
if(BUILD_SHADERS)
if(NOT ANDROID AND BUILD_SHADERS)
add_custom_command(TARGET ${XRLIB} POST_BUILD
COMMAND ${CMAKE_COMMAND} --build . --target CompileShaders
)
Expand Down
1 change: 1 addition & 0 deletions include/xrvk/render.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <array>
#include <filesystem>
#include <fstream>
#include <cfloat>

#include <xrvk/primitive.hpp>

Expand Down

0 comments on commit d15057b

Please sign in to comment.