[osg-users] freetype build support on Windows

Robert Osfield robert.osfield at gmail.com
Wed Jun 8 08:19:51 PDT 2016


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.



More information about the osg-users mailing list