diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-09-15 22:16:37 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-09-15 22:16:37 +0300 |
commit | 2eec6ec793386cef522193f69e2790a4bd301391 (patch) | |
tree | d08ad928130ffbb80102ae8747c52dc974b99020 /CMakeLists.txt | |
parent | 7b3d38a72d367e155ad3c417882fa3dfcff2fcb9 (diff) |
Deps: Add potrace as a new library dependency
For work the GP team plans to land soon (T79877) potrace was taken
on as an additional optional dependency.
This diff adds building the library to the deps builder and takes
care of the integration into the build-system with the `WITH_POTRACE`
cmake switch.
Differential Revision: https://developer.blender.org/D8662
Reviewed by: brecht, sergey
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 602616ca286..6fc454a639c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,6 +198,7 @@ option(WITH_OPENIMAGEDENOISE "Enable the OpenImageDenoise compositing node" ON option(WITH_OPENSUBDIV "Enable OpenSubdiv for surface subdivision" ON) +option(WITH_POTRACE "Enable features relying on potrace" OFF) option(WITH_OPENVDB "Enable features relying on OpenVDB" ON) option(WITH_OPENVDB_BLOSC "Enable blosc compression for OpenVDB, only enable if OpenVDB was built with blosc support" ON) option(WITH_OPENVDB_3_ABI_COMPATIBLE "Assume OpenVDB library has been compiled with version 3 ABI compatibility" OFF) |