diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 9f9763160c..6f50e59c3f 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -1677,19 +1677,6 @@ if(NOT BUILD_CPU_ONLY) INTERFACE $ ) - # ensure CUDA symbols aren't relocated to the middle of the debug build binaries - file( - WRITE "${CMAKE_CURRENT_BINARY_DIR}/fatbin.ld" - [=[ -SECTIONS -{ -.nvFatBinSegment : { *(.nvFatBinSegment) } -.nv_fatbin : { *(.nv_fatbin) } -} -]=] - ) - target_link_options(cuvs PRIVATE $) - endif() if(NOT cuvs_compile_mode STREQUAL "shared_only")