# Embree CMake defines EMBREE_INCLUDE_DIRS but TTK uses EMBREE_INCUDE_DIR which is undefined.
CMAKE_OPTIONS+=" -DEMBREE_INCLUDE_DIR=${EMBREE_ROOT_DIR}/include"
+# CPU optimization leads to non portable TTK see bos #43158
+CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF"
LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
DB09|DB10)
# A.Geay (Sous debian10 sur nos VM de prod, on a pas mal de nos tests qui plantent avec des SIGILL)
# D.Hoang: application à Debian 9
- echo "WARNING: switching off cpu optimization!"
- CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF"
CMAKE_OPTIONS+=" -DTTK_ENABLE_EIGEN=ON"
;;
*)