Hi,

[I know this is more of a build issue but I was asked to bring this here to get 
a wider swath of OSG experts.]

I am doing Windows builds with VC++ 2015 and latest build from sources of the 
3rd party libraries. A few issues with the current freetype lib cause the build 
to fail and we want to get the right patches to support different versions of 
freetype. The 2 issues are:

The include path structure doesn't have a freeetype2 directory anymore so the 
stock FindFreetype.cmake isn't working. In the attached FindFreetype.cmake I 
just hacked it to work with the new layout but that obviously won't work for 
the old layout. Does some CMake guru know the right way to do this? Would it 
work to just drop the OSG custom FindFreetype.cmake and use the CMake one 
(which seems to have both include/freetype2 and include supported in the latest 
CMake)?

The debug build doesn't find freetyped.lib because freetyped isn't in the NAMES 
list. I added freetyped to NAMES but if that isn't the right/safe way to do it 
it would be helpful to hear a better idea.

Thank you!

Cheers,
Stuart[/list]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67315#67315




Attachments: 
http://forum.openscenegraph.org//files/findfreetypecmake_210.txt


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to