Commit 74f93807 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Add OpenGL library to renering tests when applicable

It is necessary for the OSMesa test, and will probably be needed for
tests in the future.
parent 7673c739
...@@ -24,11 +24,15 @@ set(unit_tests ...@@ -24,11 +24,15 @@ set(unit_tests
) )
set(libs) set(libs)
if (OSMESA_FOUND) if (OPENGL_FOUND)
set(unit_tests ${unit_tests} list(APPEND libs ${OPENGL_LIBRARIES})
UnitTestMapperOSMesa.cxx
) if (OSMESA_FOUND)
list(APPEND libs ${OSMESA_LIBRARY}) set(unit_tests ${unit_tests}
UnitTestMapperOSMesa.cxx
)
list(APPEND libs ${OSMESA_LIBRARY})
endif()
endif() endif()
VTKM_unit_tests(SOURCES ${unit_tests} VTKM_unit_tests(SOURCES ${unit_tests}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment