Examples now correctly request the optional CUDA component
This commit is contained in:
parent
36be354980
commit
4521403fd2
@ -21,8 +21,7 @@
|
|||||||
##=============================================================================
|
##=============================================================================
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB
|
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(Clipping_SERIAL Clipping.cxx)
|
add_executable(Clipping_SERIAL Clipping.cxx)
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm QUIET REQUIRED
|
find_package(VTKm QUIET REQUIRED
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB OSMesa Rendering
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB OSMesa Rendering
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB OpenGL Interop
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB OpenGL Interop
|
|
||||||
)
|
)
|
||||||
|
|
||||||
find_package(GLUT)
|
find_package(GLUT)
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB OpenGL
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB OpenGL
|
|
||||||
)
|
)
|
||||||
|
|
||||||
find_package(GLUT)
|
find_package(GLUT)
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if(VTKm_CUDA_FOUND)
|
if(VTKm_CUDA_FOUND)
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
|
||||||
OPTIONAL_COMPONENTS Serial OpenGL Rendering
|
OPTIONAL_COMPONENTS Serial OpenGL Rendering
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB OpenGL
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB OpenGL
|
|
||||||
)
|
)
|
||||||
|
|
||||||
find_package(GLUT)
|
find_package(GLUT)
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#Find the VTK-m package
|
#Find the VTK-m package
|
||||||
find_package(VTKm REQUIRED QUIET
|
find_package(VTKm REQUIRED QUIET
|
||||||
COMPONENTS Base
|
OPTIONAL_COMPONENTS Serial CUDA TBB OpenGL
|
||||||
OPTIONAL_COMPONENTS Serial Cuda TBB OpenGL
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user