diff options
Diffstat (limited to 'cmake/DemoTests.cmake')
| -rw-r--r-- | cmake/DemoTests.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/DemoTests.cmake b/cmake/DemoTests.cmake index b24d9e2..dc88973 100644 --- a/cmake/DemoTests.cmake +++ b/cmake/DemoTests.cmake @@ -197,8 +197,8 @@ add_demo_test(test_gpu_procedural GpuProceduralTest gpu target_link_libraries(test_gpu_procedural PRIVATE 3d gpu audio procedural util ${DEMO_LIBS}) demo_add_asset_deps(test_gpu_procedural shaders) -# CNN shader testing tool (only when STRIP_ALL is OFF) -if(NOT DEMO_STRIP_ALL) +# CNN shader testing tool (only when STRIP_ALL is OFF and workspace is main) +if(NOT DEMO_STRIP_ALL AND DEMO_WORKSPACE STREQUAL "main") add_executable(cnn_test tools/cnn_test.cc src/tests/common/webgpu_test_fixture.cc |
