]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
bos #32890: TTK disable Eigen on all but Debian 9, 10
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 30 Nov 2022 15:39:15 +0000 (16:39 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 30 Nov 2022 15:39:15 +0000 (16:39 +0100)
products/compil_scripts/TTK.sh

index c03cee2e5033e883a03e40ac5b61c717308befa2..092f5f67153432f14894fcb6a9ccc004d3855f89 100755 (executable)
@@ -14,9 +14,11 @@ else
 fi
 CMAKE_OPTIONS+=" -DTTK_BUILD_PARAVIEW_PLUGINS=ON"
 CMAKE_OPTIONS+=" -Dembree_DIR:PATH=${EMBREE_ROOT_DIR}/lib/cmake/embree-${EMBREE_VERSION}"
+
 # Embree CMake defines EMBREE_INCLUDE_DIRS but TTK uses EMBREE_INCUDE_DIR which is undefined.
 CMAKE_OPTIONS+=" -DEMBREE_INCLUDE_DIR=${EMBREE_ROOT_DIR}/include"
 
+
 LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
 
 case $LINUX_DISTRIBUTION in
@@ -25,8 +27,12 @@ case $LINUX_DISTRIBUTION in
         # D.Hoang: application à Debian 9
         echo "WARNING: switching off cpu optimization!"
         CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF"
+        CMAKE_OPTIONS+=" -DTTK_ENABLE_EIGEN=ON"
         ;;
     *)
+        # bos #32890 : conflict at runtime between PlaneGCS and TTK which uses Eigen as well
+        #              FIXME
+        CMAKE_OPTIONS+=" -DTTK_ENABLE_EIGEN=OFF"
         ;;
 esac