Commit: 84285c1e344067363f814f4d3861227cc9890d41
Author: Brecht Van Lommel
Date:   Fri Nov 30 11:50:23 2018 +0100
Branches: master
https://developer.blender.org/rB84285c1e344067363f814f4d3861227cc9890d41

Fix T58275: WITH_OPENSUBDIV not enabled by default with some CMake versions.

Solution provided by Ulysse Martin.

===================================================================

M       CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 83177defe6f..7359151d9a3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -245,7 +245,7 @@ option(WITH_OPENCOLORIO   "Enable OpenColorIO color 
management" ${_init_OPENCOLO
 # Compositor
 option(WITH_COMPOSITOR         "Enable the tile based nodal compositor" ON)
 
-option(WITH_OPENSUBDIV    "Enable OpenSubdiv for surface subdivision" 
_init_OPENSUBDIV)
+option(WITH_OPENSUBDIV    "Enable OpenSubdiv for surface subdivision" 
${_init_OPENSUBDIV})
 
 option(WITH_OPENVDB       "Enable features relying on OpenVDB" OFF)
 option(WITH_OPENVDB_BLOSC "Enable blosc compression for OpenVDB, only enable 
if OpenVDB was built with blosc support" OFF)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to