vcpkg/ports/openvdb/0002-add-custom-options.patch

15 lines
644 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b35ec70..801e7df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,6 +38,9 @@ if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif(CCACHE_FOUND)
+OPTION ( OPENVDB_BUILD_TOOLS "Build OpenVDB utilities" OFF )
+OPTION ( OPENVDB_STATIC "Build statically linked library" OFF )
+OPTION ( OPENVDB_SHARED "Build dynamically linked library" ON )
OPTION ( OPENVDB_BUILD_UNITTESTS "Build the OpenVDB unit tests" ON )
OPTION ( OPENVDB_BUILD_DOCS "Build the OpenVDB documentation" OFF )
OPTION ( OPENVDB_BUILD_PYTHON_MODULE "Build the pyopenvdb Python module" ON )