Skip to content

Commit 1f27c07

Browse files
authored
Update CMakeLists.txt
1 parent a71d3d5 commit 1f27c07

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tmva/tmva/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,7 @@ if(vdt OR builtin_vdt)
409409
endif()
410410

411411
if(tmva-cpu)
412-
target_include_directories(TMVA PRIVATE ${TBB_INCLUDE_DIRS})
413-
target_link_libraries(TMVA PRIVATE ${TBB_LIBRARIES})
414-
set_target_properties(TMVA PROPERTIES COMPILE_FLAGS "${TBB_CXXFLAGS}")
415-
target_link_libraries(TMVA PRIVATE ROOT::BLAS)
412+
target_link_libraries(TMVA PRIVATE TBB::tbb ROOT::BLAS)
416413
endif()
417414

418415
if(tmva-gpu)

0 commit comments

Comments
 (0)