Code cleanup / Cycles: Remove unused interpolation code for hair triangles, we only support cardinal curves.
Code cleanup / Cycles: Remove CUDA check (we don't support sm_1x anymore) and unused hair flag.
More CMakeLists.txt changes

Summary:
I added a function that adds all libdir/* to  CMAKE_PREFIX_PATH :

further there where two places where if(MSVC) else (mingq) where defined after each other. I moved those into one place.
The things common to MSVC and mingw are now blow the special code as we set libdir and such things depending on compiler.

Besides find_package() working and some cleanups there should be no functional changes

Reviewers: dingto

Reviewed By: dingto

Differential Revision: http://developer.blender.org/D127
Dupliverts: avoid calculating normals if not used
Fix for converting unfilled 3d text into a mesh
Merge branch 'master' of http://git.blender.org/blender