Skip to content
Snippets Groups Projects
Commit 01bcc0b6 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Add TestSDL2 only for emscripten platform

- closes #19612
parent a856a743
No related branches found
No related tags found
No related merge requests found
......@@ -112,8 +112,10 @@ endif()
set_tests_properties(VTK::RenderingOpenGL2Cxx-TestFramebufferHDR
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestFramebufferHDR})
if (VTK_USE_SDL2)
vtk_add_test_cxx(vtkRenderingOpenGL2CxxTests tests TestSDL2.cxx)
if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
if (VTK_USE_SDL2)
vtk_add_test_cxx(vtkRenderingOpenGL2CxxTests tests TestSDL2.cxx)
endif ()
endif ()
if (NOT VTK_OPENGL_USE_GLES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment