[osg-users] freetype build support on Windows

Stuart Mentzer Stuart_Mentzer at objexx.com
Wed Jun 8 08:38:28 PDT 2016


Hi Robert,

If you don't end up making CMake 2.8 the min version then we could just bring select_library_configurations (with a different name) into FindFreetype as a temporary work-around. It is not much code.

Stuart

On 6/8/2016 11:19 AM, Robert Osfield wrote:
> Hi Stuart,
>
> On 8 June 2016 at 16:11, Stuart Mentzer <Stuart_Mentzer at objexx.com> wrote:
>> Hi Robert,
>>
>> I find a reference to SelectLibraryConfigurations in CMake 2.8 but not 2.6.
>> I don't know what the OSG min CMake version is.
> In the OpenSceneGraph/CMakeLists.txt we have:
>
> IF(WIN32)
>      CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
> ELSE(WIN32)
>      IF(APPLE)
>          CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
>      ELSE(APPLE)
>          CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR)
>      ENDIF(APPLE)
> ENDIF(WIN32)
>
>
> Which means 2.4.4 is the minimum, but.. this wasn't written when we
> first introduced CMake as a build system for the OSG. Whether we can
> set 2.8 as a minimum now is something that is different to know
> without having the whole community chip in.  I'll start a separate
> thread for this calling for feedback.
>
>> For freetype's PNG dependency I don't know how to do that automatically. Is
>> there someone with good CMake chops we could ask for help? I'm kind of
>> swamped so it could be a while until I can devote some time to figuring this
>> out.
> I'll have to pass on this as I've got a bucket load of other work to
> get on with.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list