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:
Kenneth Moreland 2016-09-08 09:43:47 -06:00
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})