##============================================================================
##  Copyright (c) Kitware, Inc.
##  All rights reserved.
##  See LICENSE.txt for details.
##
##  This software is distributed WITHOUT ANY WARRANTY; without even
##  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
##  PURPOSE.  See the above copyright notice for more information.
##============================================================================

if(NOT TARGET GLEW::GLEW)
  return()
endif()

set(unit_tests
    UnitTestOpenGLHeaders.cxx
    UnitTestBufferTypePicker.cxx
  )

vtkm_unit_tests(SOURCES ${unit_tests} LIBRARIES GLEW::GLEW)
