mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
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@
|
# @VTKm_AVAILABLE_COMPONENTS_LIST@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
||||||
|
|
||||||
@PACKAGE_INIT@
|
@PACKAGE_INIT@
|
||||||
|
|
||||||
|
|
||||||
# The VTKm version number
|
# The VTKm version number
|
||||||
set(VTKm_MAJOR_VERSION "@VTKm_MAJOR_VERSION@")
|
set(VTKm_MAJOR_VERSION "@VTKm_MAJOR_VERSION@")
|
||||||
set(VTKm_MINOR_VERSION "@VTKm_MINOR_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
|
#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
|
#msvc we get compile output plus run output. So we need to strip out just the
|
||||||
#run output
|
#run output
|
||||||
message(STATUS "run_output: ${run_output}")
|
|
||||||
string(FIND "${run_output}" "--generate-code" position)
|
string(FIND "${run_output}" "--generate-code" position)
|
||||||
string(SUBSTRING "${run_output}" ${position} -1 run_output)
|
string(SUBSTRING "${run_output}" ${position} -1 run_output)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user