Skip to content

Commit 04393c1

Browse files
Merge pull request #34 from rokuz/fix_android_rt
Fix CMake for 006_RayTracingHello demo on Android
2 parents e814111 + 29a16d8 commit 04393c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

samples/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,14 @@ ADD_DEMO("002_RenderToCubeMap")
126126
ADD_DEMO("003_RenderToCubeMapSinglePass")
127127
ADD_DEMO("004_YUV")
128128
if(WIN32 OR UNIX AND NOT (APPLE))
129+
# Windows and Linux
129130
ADD_DEMO("005_MeshShaders")
130-
ADD_DEMO("006_RayTracingHello")
131131
ADD_DEMO("007_RayTracingAO")
132132
endif()
133+
if((WIN32 OR UNIX AND NOT (APPLE)) OR LVK_WITH_SAMPLES_ANDROID)
134+
# Windows, Linux and Android
135+
ADD_DEMO("006_RayTracingHello")
136+
endif()
133137

134138
ADD_DEMO("Tiny")
135139
ADD_DEMO("Tiny_Mesh")

0 commit comments

Comments
 (0)