Page MenuHome

WITH_OPENSUBDIV seems not enabled by default in cmake on windows
Closed, ArchivedPublic

Description

System Information
Operating system: Windows 10
Graphics card: GTX 1080

Blender Version
Broken: 30/11/2018

Worked: (optional)

Short description of error
WITH_OPENSUBDIV flag seems not enabled by default in cmake on windows (subsurf modifier for example is not available when compiling with default options)

Exact steps for others to reproduce the error
Run cmake on windows. Look at the default options checked.

Event Timeline

Brecht Van Lommel (brecht) closed this task as Archived.
Brecht Van Lommel (brecht) claimed this task.

It is enabled by default as far as I can tell, but if you have an existing cmake configuration it does not automatically get enabled.

There's an issue for me building from scratch with no existing cmake configuration. I'll do a patch if I find a solution

This is fixing my issue

Ah thanks, I guess this works with some CMake versions but not others.

Hi again, this was for 2.8 (idk if open subdiv has to be enabled in 2.7?). I should have precised it in the title (I just used the tag 2.8)

The fix was done in master, and will be merged into 2.8.

Alright, I didn't know if WITH_OPENSUBDIV should be a default in 2.7. Thanks very much! And thanks for all your hard works :)