Link rendering tests to OSMesa library, not include dir

There was an error in the CMakeLists.txt in the rendering tests where
the include directory was linked in instead of the OSMesa library.
It was a simple mistake of typing the wrong CMake variable.
This commit is contained in:
Kenneth Moreland 2016-06-06 09:48:37 -06:00
parent 5ba6afe688
commit 7673c739d1

@ -28,7 +28,7 @@ if (OSMESA_FOUND)
set(unit_tests ${unit_tests}
UnitTestMapperOSMesa.cxx
)
list(APPEND libs ${OSMESA_INCLUDE_DIR})
list(APPEND libs ${OSMESA_LIBRARY})
endif()
VTKM_unit_tests(SOURCES ${unit_tests}