Skip to content
Snippets Groups Projects
Commit cdaac341 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware) Committed by Kitware Robot
Browse files

Merge topic 'fix-test-sdl2-inclusion'


01bcc0b6 Add TestSDL2 only for emscripten platform

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Tested-by: default avatarbuildbot <buildbot@kitware.com>
Reviewed-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !11914
parents 1789113a 01bcc0b6
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