From 8ec2e4a1364e98aa9080a1f9045550ed6730fe80 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 30 Nov 2022 16:39:15 +0100 Subject: [PATCH] bos #32890: TTK disable Eigen on all but Debian 9, 10 --- products/compil_scripts/TTK.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/products/compil_scripts/TTK.sh b/products/compil_scripts/TTK.sh index c03cee2..092f5f6 100755 --- a/products/compil_scripts/TTK.sh +++ b/products/compil_scripts/TTK.sh @@ -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 -- 2.39.2