[osg-users] [build] OSG 3.3.7 cmake_policy CMP0020

Robert Osfield robert.osfield at gmail.com
Tue May 5 04:08:08 PDT 2015


Hi Gianni,

On 5 May 2015 at 11:48, Gianni Ambrosio <g.ambrosio+osg at gmail.com> wrote:
> the one at root level :)

Thanks for the clarification, what I have checked into svn/trunk and
the OSG-3.2 branch is:

    # disable autolinking to qtmain as we have our own main()
functions (new in Qt 5.1)
    if(${CMAKE_MAJOR_VERSION} GREATER 2 OR
        (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 8) OR
        (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION}
EQUAL 8 AND ${CMAKE_PATCH_VERSION} GREATER 10))
        cmake_policy(SET CMP0020 OLD)
    endif()

Could you check out svn/trunk and let me know if this is working fine.

Cheers,
Robert



More information about the osg-users mailing list