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