diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-30 11:31:22 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-30 11:31:22 +0300 |
commit | 820d19162678a478bac6a0945e2111b11bbea91e (patch) | |
tree | aa69ad00d4bb1bb6f9673eb9df9916a3ad90900a /CMakeLists.txt | |
parent | 5c7cdfcb42d0afd781bfbec6e2445678e8f21995 (diff) |
OpenSubdiv: Add CMake option to enable -Werror in subsurf code
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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) |