Commit 90770453 authored by Doak, Peter W.'s avatar Doak, Peter W.
Browse files

leconte reveals missing CUDA link.

parent 7eeb61ca
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
add_library(json STATIC json_writer.cpp json_reader.cpp details/json_group.cpp
                        details/json_entry.cpp details/util.cpp)

if(DCA_HAVE_CUDA)
  target_link_libraries(json PUBLIC CUDA::cudart)
endif()
if(DCA_HAVE_HIP)
  target_link_libraries(json PUBLIC hip::host)
endif()