[CMake] [v2.8-rc1] - Strange new warning in FindQt4.cmake
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sat Sep 26 04:32:40 EDT 2009
Hi,
I get this warning:
-----------------8<----------------------
CMake Warning (dev) at cmake/modules/FindQt4.cmake:826 (SET):
Local variable "QT4_QTUITOOLS_LIBRARY" is set to
optimized;D:/kde/kde-msvc/lib/QtUiTools.lib;debug;D:/kde/kde-msvc/lib/QtUiTo
olsd.lib
but the CACHE entry of the same name is set to
D:/kde/kde-msvc/lib/QtUiTools.lib
The local variable is hiding the cache value.
Policy CMP0015 is not set: The set() CACHE mode and option() command make
the cache value visible. Run "cmake --help-policy CMP0015" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
cmake/modules/FindQt4.cmake:859 (_QT4_ADJUST_LIB_VARS)
cmake/modules/MacroOptionalFindPackage.cmake:19 (FIND_PACKAGE)
CMakeLists.txt:52 (macro_optional_find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-----------------8<----------------------
Whats wrong here?
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090926/b5af18ae/attachment.pgp>
More information about the CMake
mailing list