|
大家好,我是新手,在用CMAKE编译VPB的时候
出现以下如图问题,编译生成的sln不成功
请指点 谢谢
Configuring done
CMake Warning (dev) at src/vpb/CMakeLists.txt:15 (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:
glu32, opengl32, glu32, opengl32
and other libraries with known full path:
F:/gdal_runtime/lib/gdal_i.lib
E:/osg/OpenSceneGraph-2.8.2/BUILD/lib/osg.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. |
|