Skip to content
Snippets Groups Projects
Commit 584b9cca authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Include vtkMobileDevices.cmake in VTK cmake config

- this ensures OpenGL::GLES3 is correctly found by find_package
parent 814bfa0a
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,8 @@ if (DEFINED Python3_FIND_STRATEGY)
endif ()
set(Python3_FIND_STRATEGY LOCATION)
# Ensures that the OpenGL::GLES3 is found.
include("${CMAKE_CURRENT_LIST_DIR}/vtkMobileDevices.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/${CMAKE_FIND_PACKAGE_NAME}-vtk-module-find-packages.cmake")
if (@vtk_opengl_preference_set@) # vtk_opengl_preference_set
......
......@@ -129,6 +129,7 @@ set(vtk_cmake_module_files
vtkDetectLibraryType.cmake
vtkEncodeString.cmake
vtkHashSource.cmake
vtkMobileDevices.cmake
vtkModule.cmake
vtkModuleGraphviz.cmake
vtkModuleJson.cmake
......
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