mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
VTK-m always use cxx_std_<level> when requesting compiler level
The meta cxx_std_<level> flags are supported for compilers such as IBM XL and PGI, where the granular flags such as cxx_auto_type arent.
This commit is contained in:
parent
5e2e0d9ff1
commit
b9614bbc73
2
vtkm/thirdparty/diy/CMakeLists.txt
vendored
2
vtkm/thirdparty/diy/CMakeLists.txt
vendored
@ -24,7 +24,7 @@ add_library(vtkm_diy INTERFACE)
|
||||
vtkm_get_kit_name(kit_name kit_dir)
|
||||
|
||||
# diy needs C++11
|
||||
target_compile_features(vtkm_diy INTERFACE cxx_auto_type)
|
||||
target_compile_features(vtkm_diy INTERFACE cxx_std_11)
|
||||
|
||||
# placeholder to support external DIY
|
||||
set(VTKM_USE_EXTERNAL_DIY OFF)
|
||||
|
2
vtkm/thirdparty/loguru/CMakeLists.txt
vendored
2
vtkm/thirdparty/loguru/CMakeLists.txt
vendored
@ -24,7 +24,7 @@ add_library(vtkm_loguru INTERFACE)
|
||||
vtkm_get_kit_name(kit_name kit_dir)
|
||||
|
||||
# taotuple needs C++11
|
||||
target_compile_features(vtkm_loguru INTERFACE cxx_auto_type)
|
||||
target_compile_features(vtkm_loguru INTERFACE cxx_std_11)
|
||||
|
||||
target_include_directories(vtkm_loguru INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
|
2
vtkm/thirdparty/taotuple/CMakeLists.txt
vendored
2
vtkm/thirdparty/taotuple/CMakeLists.txt
vendored
@ -24,7 +24,7 @@ add_library(vtkm_taotuple INTERFACE)
|
||||
vtkm_get_kit_name(kit_name kit_dir)
|
||||
|
||||
# taotuple needs C++11
|
||||
target_compile_features(vtkm_taotuple INTERFACE cxx_auto_type)
|
||||
target_compile_features(vtkm_taotuple INTERFACE cxx_std_11)
|
||||
|
||||
target_include_directories(vtkm_taotuple INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
|
Loading…
Reference in New Issue
Block a user