]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #20550 Version EGL headless offscreen de paraview
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 13 Jan 2021 11:56:45 +0000 (12:56 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 13 Jan 2021 11:56:45 +0000 (12:56 +0100)
products/compil_scripts/ParaView.sh

index d8090663cbadda8fcb32cbdc2afd8089d7adb5fd..6ff91c218f5312ee3453a67c981561e9721cd1db 100755 (executable)
@@ -33,10 +33,10 @@ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DOpenGL_GL_PREFERENCE:STRING=LEGACY"
 ### spns #20550 - Headless mode
 if [ -n "$PARAVIEW_HEADLESS_MODE" ]
 then
+    EGL_FOUND=false
     EGL_INCLUDE_ROOT_DIR=
     EGL_LIBRARY_ROOT_DIR=
     OPENGL_LIBRARY_ROOT_DIR=
-    # check EGL/egl.h is present
     LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
     case $LINUX_DISTRIBUTION in
         CO6|CO7|FD26|FD30|FD32)