Skip to content

Commit

Permalink
Add cuda to target_link_libraries (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt authored Nov 12, 2020
1 parent 6c2b52b commit d1eed19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- PR #296 Updates for RMM being header only.
- PR #298 Fix Python docs to render first argument of each public function.
- PR #322 Fix build issues related to libcudf split build changes
- PR #323 Add cuda to target_link_libraries


# cuSpatial 0.15.0 (26 Aug 2020)
Expand Down
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ endif(USE_NVTX)
###################################################################################################
# - link libraries --------------------------------------------------------------------------------

target_link_libraries(cuspatial cudart cusparse GDAL::GDAL)
target_link_libraries(cuspatial cuda cudart cusparse GDAL::GDAL)
# Because libcudf.so doesn't contain any symbols, the linker will determine that it's okay to prune
# it before copying `DT_NEEDED` entries from it
target_link_libraries(cuspatial "-Wl,--no-as-needed" cudf "-Wl,--as-needed")
Expand Down

0 comments on commit d1eed19

Please sign in to comment.