Skip to content
Snippets Groups Projects
Commit 30fdc7f9 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Merge branch 'osmesa-link-error' into 'master'

Fix minor issues with building with OSMesa



See merge request !440
parents 5ba6afe6 74f93807
Loading
......@@ -24,11 +24,15 @@ set(unit_tests
)
set(libs)
if (OSMESA_FOUND)
set(unit_tests ${unit_tests}
UnitTestMapperOSMesa.cxx
)
list(APPEND libs ${OSMESA_INCLUDE_DIR})
if (OPENGL_FOUND)
list(APPEND libs ${OPENGL_LIBRARIES})
if (OSMESA_FOUND)
set(unit_tests ${unit_tests}
UnitTestMapperOSMesa.cxx
)
list(APPEND libs ${OSMESA_LIBRARY})
endif()
endif()
VTKM_unit_tests(SOURCES ${unit_tests}
......
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