The default CMAKE_CXX_FLAGS for the “Debug” configuration is the culprit. For Ninja builds I'm forcing the CMAKE_BUILD_TYPE to “RelWithDebInfo” and in Visual Studio I just set that as the active configuration.
*grumble grumble*
When I have more time I'll figure out the exact flag that's causing the issues and post an update.
If anyone is interested, maybe we could collaborate and put together a solid reference Houdini.cmake on github and perhaps SESI would be motivated to adopt it into their hearts and provide it with the toolkit?
