mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Consistently use VTKm_ENABLE instead of having VTKm_BUILD and VTKm_ENABLE
This commit is contained in:
parent
b6993a7650
commit
6b4054c37a
@ -99,8 +99,8 @@ option(VTKm_ENABLE_TESTING "Enable VTKm Testing" ON)
|
|||||||
option(VTKm_ENABLE_BENCHMARKS "Enable VTKm Benchmarking" OFF)
|
option(VTKm_ENABLE_BENCHMARKS "Enable VTKm Benchmarking" OFF)
|
||||||
option(VTKm_ENABLE_OSMESA "Enable creating the OSMesa canvas" OFF)
|
option(VTKm_ENABLE_OSMESA "Enable creating the OSMesa canvas" OFF)
|
||||||
|
|
||||||
option(VTKm_BUILD_DOCUMENTATION "Build Doxygen documentation" OFF)
|
option(VTKm_ENABLE_DOCUMENTATION "Build Doxygen documentation" OFF)
|
||||||
option(VTKm_BUILD_EXAMPLES "Build examples" OFF)
|
option(VTKm_ENABLE_EXAMPLES "Build examples" OFF)
|
||||||
|
|
||||||
option(VTKm_USE_DOUBLE_PRECISION
|
option(VTKm_USE_DOUBLE_PRECISION
|
||||||
"Use double precision for floating point calculations"
|
"Use double precision for floating point calculations"
|
||||||
@ -212,7 +212,7 @@ add_subdirectory(vtkm)
|
|||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Build documentation
|
# Build documentation
|
||||||
if (VTKm_BUILD_DOCUMENTATION)
|
if (VTKm_ENABLE_DOCUMENTATION)
|
||||||
include(CMake/VTKmBuildDocumentation.cmake)
|
include(CMake/VTKmBuildDocumentation.cmake)
|
||||||
vtkm_build_documentation()
|
vtkm_build_documentation()
|
||||||
endif()
|
endif()
|
||||||
@ -340,6 +340,6 @@ include(CPack)
|
|||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Build examples
|
# Build examples
|
||||||
if(VTKm_BUILD_EXAMPLES)
|
if(VTKm_ENABLE_EXAMPLES)
|
||||||
add_subdirectory(examples)
|
add_subdirectory(examples)
|
||||||
endif(VTKm_BUILD_EXAMPLES)
|
endif(VTKm_ENABLE_EXAMPLES)
|
||||||
|
Loading…
Reference in New Issue
Block a user