Kazen-Renderer / rez-packages

vfx reference platform standard
GNU General Public License v3.0
5 stars 2 forks source link

cmake find_package support for partial libs #5

Closed ZhongLingXiao closed 3 years ago

ZhongLingXiao commented 3 years ago

Cmake config mode support so user can use find_package in their cmake file like this: find_package(TBB REQUIRED COMPONENTS tbb)

When you cmake your project, it should under rez-env yourlib enviroment like:

rez-env tbb-2020.2
cmake .. -DCMAKE_BUILD_TYPE=Release