From 6b4054c37af48dd49f42ef628573871eb194382d Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Tue, 23 May 2017 09:38:13 -0400 Subject: [PATCH] Consistently use VTKm_ENABLE instead of having VTKm_BUILD and VTKm_ENABLE --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 564dd84de..0320bb839 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,8 +99,8 @@ option(VTKm_ENABLE_TESTING "Enable VTKm Testing" ON) option(VTKm_ENABLE_BENCHMARKS "Enable VTKm Benchmarking" OFF) option(VTKm_ENABLE_OSMESA "Enable creating the OSMesa canvas" OFF) -option(VTKm_BUILD_DOCUMENTATION "Build Doxygen documentation" OFF) -option(VTKm_BUILD_EXAMPLES "Build examples" OFF) +option(VTKm_ENABLE_DOCUMENTATION "Build Doxygen documentation" OFF) +option(VTKm_ENABLE_EXAMPLES "Build examples" OFF) option(VTKm_USE_DOUBLE_PRECISION "Use double precision for floating point calculations" @@ -212,7 +212,7 @@ add_subdirectory(vtkm) #----------------------------------------------------------------------------- # Build documentation -if (VTKm_BUILD_DOCUMENTATION) +if (VTKm_ENABLE_DOCUMENTATION) include(CMake/VTKmBuildDocumentation.cmake) vtkm_build_documentation() endif() @@ -340,6 +340,6 @@ include(CPack) #----------------------------------------------------------------------------- # Build examples -if(VTKm_BUILD_EXAMPLES) +if(VTKm_ENABLE_EXAMPLES) add_subdirectory(examples) -endif(VTKm_BUILD_EXAMPLES) +endif(VTKm_ENABLE_EXAMPLES)