mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
parent
6b7ff4370f
commit
07b55a9546
@ -47,7 +47,7 @@ target_compile_features(vtkm_compiler_flags INTERFACE cxx_std_11)
|
|||||||
# to have the smallest binary impact as they can drop any VTK-m symbol
|
# to have the smallest binary impact as they can drop any VTK-m symbol
|
||||||
# they don't use.
|
# they don't use.
|
||||||
if(VTKM_COMPILER_IS_MSVC)
|
if(VTKM_COMPILER_IS_MSVC)
|
||||||
target_compile_options(vtkm_compiler_flags INTERFACE /Gy)
|
target_compile_options(vtkm_compiler_flags INTERFACE $<$<COMPILE_LANGUAGE:CXX>:/Gy>)
|
||||||
if(TARGET vtkm::cuda)
|
if(TARGET vtkm::cuda)
|
||||||
target_compile_options(vtkm_compiler_flags INTERFACE $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler="/Gy">)
|
target_compile_options(vtkm_compiler_flags INTERFACE $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler="/Gy">)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user