VTK-m cmake config files not explicitly state we require cmake 3.3
This commit is contained in:
parent
8a4352a8f6
commit
6db006a28b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user