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)