|
我在进行osggis编译的时候出现如下文字,不知道是什么意思?又该如何解决呢?
CMake Warning (dev) at src/osgGIS/CMakeLists.txt:124 (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 "osgGIS" links to some libraries for which the linker must
search:
glu32, opengl32, glu32, opengl32
and other libraries with known full path:
D:/Program Files/OsgChina/OpenSceneGraph/lib/osgd.lib
D:/Program Files/OsgChina/osggis/GDAL/lib/gdal_i.lib
D:/Program Files/OsgChina/osggis/osggis_3rdparty_win32_vs8/lib/lua51.lib
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
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it. |
|