VTK-m cmake config files not explicitly state we require cmake 3.3

This commit is contained in:
Robert Maynard 2016-11-30 14:10:30 -05:00
parent 8a4352a8f6
commit 6db006a28b
2 changed files with 3 additions and 1 deletions

@ -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@")

@ -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)