diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b8d2f5fb528ba232c2f4bea33df6b3bc7b8a35e..5c7a9e6b2a47aa7762adfd517d385133a0c38e70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,10 +106,11 @@ if (NOT DEFINED VTKm_ENABLE_TESTING) endif() endif() -# By default: VTKm_ENABLE_TESTING -> VTKm_ENABLE_TESTING_LIB +# By default: (VTKm_ENABLE_TESTING OR VTKm_ENABLE_BENCHMARKS) -> VTKm_ENABLE_TESTING_LIBRARY include(CMakeDependentOption) -cmake_dependent_option(VTKm_ENABLE_TESTING_LIBRARY "Enable VTKm Testing Library" OFF "NOT VTKm_ENABLE_TESTING" ON) -mark_as_advanced(VTKm_ENABLE_TESTING_LIB) +cmake_dependent_option(VTKm_ENABLE_TESTING_LIBRARY "Enable VTKm Testing Library" + OFF "NOT VTKm_ENABLE_TESTING;NOT VTKm_ENABLE_BENCHMARKS" ON) +mark_as_advanced(VTKm_ENABLE_TESTING_LIBRARY) vtkm_option(VTKm_USE_DOUBLE_PRECISION "Use double precision for floating point calculations" OFF) vtkm_option(VTKm_USE_64BIT_IDS "Use 64-bit indices." ON)