Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-07-30 11:31:22 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-07-30 11:31:22 +0300
commit820d19162678a478bac6a0945e2111b11bbea91e (patch)
treeaa69ad00d4bb1bb6f9673eb9df9916a3ad90900a /CMakeLists.txt
parent5c7cdfcb42d0afd781bfbec6e2445678e8f21995 (diff)
OpenSubdiv: Add CMake option to enable -Werror in subsurf code
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c2c0e8e1f75..198f6a3a6fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -230,6 +230,8 @@ option(WITH_COMPOSITOR_WERROR "Treat warnings as errors in compositor code" OFF
mark_as_advanced(WITH_COMPOSITOR_WERROR)
option(WITH_OPENSUBDIV "Enable OpenSubdiv for surface subdivision" OFF)
+option(WITH_SUBSURF_WERROR "Treat warnings as errors in subsurf code" OFF)
+mark_as_advanced(WITH_COMPOSITOR_WERROR)
# GHOST Windowing Library Options
option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF)