]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
ttk- patch implementation -otherwise blind to graphviz/embree
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 6 Oct 2022 10:42:24 +0000 (12:42 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 6 Oct 2022 10:42:24 +0000 (12:42 +0200)
products/compil_scripts/TTK.sh

index d8369866ae3348217d030181e6fe8c7be767a4a8..1c45292561c4ad00a8dd27de3ab535afef8cbff6 100755 (executable)
@@ -14,7 +14,8 @@ else
 fi
 CMAKE_OPTIONS+=" -DTK_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