Hi Michael,

What version of Cmake are you using?

I'm using CMake 2.6.2 and don't see any warning.

W.r.t you follow up email, it looks like VPB isn't finding the correct
OSG version.  Do you have multiple versions of the OSG installed?
Which version of the VPB are you using?

Robert.

On Fri, May 1, 2009 at 8:39 PM, Michael W. Hall <[email protected]> wrote:
> I get the following warning during the generate of ccmake for VPB:
>
> CMake Warning (dev) at src/vpb/CMakeLists.txt:38 (ADD_LIBRARY):
>   Policy CMP0003 should be set before this line.  Add code such as
>
>     if(COMMAND cmake_policy)
>       cmake_policy(SET CMP0003 NEW)
>     endif(COMMAND cmake_policy)
>
>   as early as possible but after the most recent call to
>   cmake_minimum_required or cmake_policy(VERSION).  This warning
> appears
>   because target "vpb" links to some libraries for which the linker
> must
>   search:
>
>     -lpthread
>
>   and other libraries with known full path:
>
>     /usr/local/lib64/libosg.so
>
>   CMake is adding directories in the second list to the linker search
> path in
>   case they are needed to find libraries from the first list (for
> backwards
>   compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to
> enable.....
>
> Could someone tell me how to fix this?  My OSG is build and working.  I
> am running 2.8.0
>
> Thanks,
> Michael
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to