summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/kaldi/0001_CMakeLists_txt.patch
blob: 2a4274e193c2631efb72b9a7bf089842f6e3e06d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/CMakeLists.txt	2021-11-16 14:42:46.804731428 -0500
+++ b/CMakeLists.txt	2021-11-18 10:13:53.680398003 -0500
@@ -158,10 +158,7 @@
     include_directories(${NvToolExt_INCLUDE_DIR})
     link_libraries(${NvToolExt_LIBRARIES})
 
-    get_third_party(cub)
-    set(CUB_ROOT_DIR "${CMAKE_CURRENT_BINARY_DIR}/cub")
-    find_package(CUB REQUIRED)
-    include_directories(${CUB_INCLUDE_DIR})
+    include_directories(${CUDA_INCLUDE_DIRS})
 endif()
 
 add_definitions(-DKALDI_NO_PORTAUDIO=1)