Skip to content

Commit d6063b8

Browse files
committed
Find tbb and link it for python layer symbol issue
1 parent 9829d2d commit d6063b8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cpp/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ else()
158158
find_package(RAFT REQUIRED)
159159
endif()
160160

161+
find_package(TBB REQUIRED)
162+
161163
FetchContent_Declare(
162164
papilo
163165
GIT_REPOSITORY "https://github.com/scipopt/papilo.git"
@@ -251,6 +253,7 @@ target_link_libraries(cuopt
251253
CCCL::CCCL
252254
raft::raft
253255
cuopt::mps_parser
256+
TBB::tbb
254257
PRIVATE
255258
${CUOPT_PRIVATE_CUDA_LIBS}
256259
)

python/cuopt/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ project(
3333

3434
find_package(cuopt ${cuopt_version})
3535
find_package(mps_parser ${cuopt_version})
36+
find_package(TBB REQUIRED)
3637

3738
include(rapids-cython-core)
3839
rapids_cython_init()

0 commit comments

Comments
 (0)