]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Help cmake to find ospray and embree cmake configuration files
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 10 Feb 2022 12:22:50 +0000 (13:22 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 10 Feb 2022 12:22:50 +0000 (13:22 +0100)
products/compil_scripts/ParaView-5.9.0.bat

index 0b326070cf4634c1ea4c89fc37f5688d58867534..1773d3678c8df3c785f7f7e8642ee5804f1d359e 100644 (file)
@@ -40,8 +40,8 @@ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DOpenGL_GL_PREFERENCE:STRING=LEGACY
 REM Ray-tracing settings
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_ENABLE_RAYTRACING:BOOL=ON 
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_ENABLE_OSPRAY:BOOL=ON
-set CMAKE_OPTIONS=%CMAKE_OPTIONS% -Dospray_DIR:PATH=%OSPRAY_ROOT_DIR:\=/%/ospray-2.4.0
-set CMAKE_OPTIONS=%CMAKE_OPTIONS% -Dembree_DIR:PATH=%EMBREE_ROOT_DIR:\=/%/embree-3.12.2
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -Dospray_DIR:PATH=%OSPRAY_ROOT_DIR:\=/%/lib/cmake/ospray-2.4.0
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -Dembree_DIR:PATH=%EMBREE_ROOT_DIR:\=/%/lib/cmake/embree-3.12.2
 
 REM Paraview general settings
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_PYTHON_FULL_THREADSAFE:BOOL=ON