Salome HOME
merge from master
[tools/sat_salome.git] / products / compil_scripts / TTK.sh
index d8369866ae3348217d030181e6fe8c7be767a4a8..649d1c1c43574f7eb9189c79089ad8255c0d9d28 100755 (executable)
@@ -12,9 +12,10 @@ if [ -n "$SAT_DEBUG" ]; then
 else
     CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE:STRING=Release"
 fi
-CMAKE_OPTIONS+=" -DTK_BUILD_PARAVIEW_PLUGINS=ON"
+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"
 echo
 echo "*** cmake" $CMAKE_OPTIONS
 rm -rf $BUILD_DIR