Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 TBB 安装到 /usr/local/tbb ,现在尝试使用已安装的版本编译 opencv 2.4.5。
但如果我使用 ccmake,它会从 Internet 下载另一个 TBB 副本。我不想要这个。
cmake 接受我本地安装的 TBB 目录的命令行选项是什么?
谢谢!
cmake -DWITH_TBB=ON -DTBB_INCLUDE_DIR=/usr/local/tbb/include -DTBB_LIB_DIR=/usr/local/tbb/lib