diff --git a/CMake/VTKmConfig.cmake.in b/CMake/VTKmConfig.cmake.in index 47f12a7c7..ef9f72d74 100755 --- a/CMake/VTKmConfig.cmake.in +++ b/CMake/VTKmConfig.cmake.in @@ -33,8 +33,11 @@ # @VTKm_AVAILABLE_COMPONENTS_LIST@ # +cmake_minimum_required(VERSION 3.3 FATAL_ERROR) + @PACKAGE_INIT@ + # The VTKm version number set(VTKm_MAJOR_VERSION "@VTKm_MAJOR_VERSION@") set(VTKm_MINOR_VERSION "@VTKm_MINOR_VERSION@") diff --git a/CMake/VTKmConfigureComponents.cmake b/CMake/VTKmConfigureComponents.cmake index 1d7bab54e..b927bf9f2 100644 --- a/CMake/VTKmConfigureComponents.cmake +++ b/CMake/VTKmConfigureComponents.cmake @@ -351,7 +351,6 @@ macro(vtkm_configure_component_CUDA) #find the position of the "--generate-code" output. With some compilers such as #msvc we get compile output plus run output. So we need to strip out just the #run output - message(STATUS "run_output: ${run_output}") string(FIND "${run_output}" "--generate-code" position) string(SUBSTRING "${run_output}" ${position} -1 run_output)