OpenSubdiv: Add CMake option to enable -Werror in subsurf code

This commit is contained in:
Sergey Sharybin
2015-07-30 10:31:22 +02:00
parent 5c7cdfcb42
commit 820d191626
3 changed files with 17 additions and 0 deletions

View File

@@ -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)