Skip to content

Commit dd24a4f

Browse files
committed
OpenGL2 backend does not support HAVSMapper
Change-Id: I09eb73fcc621305e0387df38a0312e78ed85ace6
1 parent f35be3b commit dd24a4f

File tree

2 files changed

+459
-1
lines changed

2 files changed

+459
-1
lines changed

ParaViewCore/ServerManager/SMApplication/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,21 @@ SET(requestedResourceFiles
103103
${CMAKE_CURRENT_SOURCE_DIR}/Resources/filters.xml
104104
${CMAKE_CURRENT_SOURCE_DIR}/Resources/internal_writers.xml
105105
${CMAKE_CURRENT_SOURCE_DIR}/Resources/readers.xml
106-
${CMAKE_CURRENT_SOURCE_DIR}/Resources/rendering.xml
107106
${CMAKE_CURRENT_SOURCE_DIR}/Resources/sources.xml
108107
${CMAKE_CURRENT_SOURCE_DIR}/Resources/utilities.xml
109108
${CMAKE_CURRENT_SOURCE_DIR}/Resources/views_and_representations.xml
110109
${CMAKE_CURRENT_SOURCE_DIR}/Resources/writers.xml
111110
${module_sm_xmls}
112111
)
113112

113+
if("${VTK_RENDERING_BACKEND}" STREQUAL "OpenGL2")
114+
list(APPEND requestedResourceFiles
115+
${CMAKE_CURRENT_SOURCE_DIR}/Resources/rendering_opengl2.xml)
116+
else()
117+
list(APPEND requestedResourceFiles
118+
${CMAKE_CURRENT_SOURCE_DIR}/Resources/rendering.xml)
119+
endif()
120+
114121
if (PARAVIEW_ENABLE_PYTHON)
115122
list(APPEND requestedResourceFiles
116123
${CMAKE_CURRENT_SOURCE_DIR}/Resources/pythonfilter.xml

0 commit comments

Comments
 (0)