Skip to content

Commit

Permalink
Try ospray as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
dcwhite committed Nov 13, 2018
1 parent 84b47b3 commit 2bee0ad
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -4,3 +4,6 @@
[submodule "src/Externals/submodules/googletest"]
path = src/Externals/submodules/googletest
url = https://github.com/CIBC-Internal/googletest.git
[submodule "src/Externals/submodules/ospray"]
path = src/Externals/submodules/ospray
url = https://github.com/CIBC-Internal/ospray.git
12 changes: 12 additions & 0 deletions src/Externals/submodules/CMakeLists.txt
Expand Up @@ -62,3 +62,15 @@ endif()
#ENDIF()

ADD_SUBDIRECTORY(googletest)

IF(WITH_OSPRAY)
set(embree_DIR ${Embree_DIR})
set(OSPRAY_TASKING_SYSTEM "TBB")
set(TBB_ROOT ${Tbb_DIR})
set(OSPRAY_ENABLE_TESTING OFF)
set(OSPRAY_SG_CHOMBO OFF)
set(OSPRAY_SG_OPENIMAGEIO OFF)
set(OSPRAY_SG_VTK OFF)
set(ISPC_EXECUTABLE ${Ispc_DIR}/ispc)
ADD_SUBDIRECTORY(ospray)
ENDIF()
1 change: 1 addition & 0 deletions src/Externals/submodules/ospray
Submodule ospray added at 48f125

0 comments on commit 2bee0ad

Please sign in to comment.