mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Revert change in use of target_link_libraries signature
We moved to using the more modern signature of target_link_libraries, but on some platforms this causes a configuration error. The issue is that cuda_add_library internally uses target_link_libraries with the old signature, and CMake does not allow us to use both signatures on the same target.
This commit is contained in:
parent
5c1352872a
commit
bd1f33dd9e
@ -624,7 +624,7 @@ function(vtkm_library)
|
||||
set_property(TARGET ${lib_name} APPEND PROPERTY
|
||||
INCLUDE_DIRECTORIES ${VTKm_INCLUDE_DIRS} )
|
||||
|
||||
target_link_libraries(${lib_name} PUBLIC ${VTKm_LIBRARIES})
|
||||
target_link_libraries(${lib_name} ${VTKm_LIBRARIES})
|
||||
|
||||
target_compile_options(${lib_name} PRIVATE ${VTKm_COMPILE_OPTIONS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user