[Kmymoney-devel] [Bug 269621] New: Warnings from CMAKE 2.8.4
David Houlden
djhoulden at gmail.com
Mon Mar 28 17:15:47 CEST 2011
https://bugs.kde.org/show_bug.cgi?id=269621
Summary: Warnings from CMAKE 2.8.4
Product: kmymoney4
Version: SVN trunk
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kmymoney-devel at kde.org
ReportedBy: djhoulden at gmail.com
Version: SVN trunk (using KDE 4.5.5)
OS: Linux
Slackware current recently upgraded to CMAKE 2.8.4 from 2.8.3 and warnings now
appear when building kmymoney. Sample output below.
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
CMake Warning (dev) at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86 (INCLUDE):
File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
includes /usr/share/apps/cmake/modules/CMakeParseArguments.cmake (found via
CMAKE_MODULE_PATH) which shadows
/usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake. This may cause
errors later on .
Policy CMP0017 is not set: Prefer files from the CMake module directory
when including from there. Run "cmake --help-policy CMP0017" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindThreads.cmake:156 (INCLUDE)
/usr/share/apps/cmake/modules/Qt4ConfigDependentSettings.cmake:32
(FIND_PACKAGE)
/usr/share/apps/cmake/modules/FindQt4.cmake:1217 (INCLUDE)
/usr/share/apps/cmake/modules/FindKDE4Internal.cmake:399 (find_package)
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:50 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86 (INCLUDE):
File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
includes /usr/share/apps/cmake/modules/CMakeParseArguments.cmake (found via
CMAKE_MODULE_PATH) which shadows
/usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake. This may cause
errors later on .
Policy CMP0017 is not set: Prefer files from the CMake module directory
when including from there. Run "cmake --help-policy CMP0017" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPerl.cmake:47 (INCLUDE)
/usr/share/apps/cmake/modules/FindKDE4Internal.cmake:416 (find_package)
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:50 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at
/usr/share/cmake-2.8/Modules/CheckCXXCompilerFlag.cmake:23 (INCLUDE):
File /usr/share/cmake-2.8/Modules/CheckCXXCompilerFlag.cmake includes
/usr/share/apps/cmake/modules/CheckCXXSourceCompiles.cmake (found via
CMAKE_MODULE_PATH) which shadows
/usr/share/cmake-2.8/Modules/CheckCXXSourceCompiles.cmake. This may cause
errors later on .
Policy CMP0017 is not set: Prefer files from the CMake module directory
when including from there. Run "cmake --help-policy CMP0017" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
/usr/share/apps/cmake/modules/FindKDE4Internal.cmake:458 (include)
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:50 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found gpgme-config at /usr/bin/gpgme-config
-- Found gpgme v1.3.0, checking for flavours...
-- Found flavour 'vanilla', checking whether it's usable...yes
-- Found flavour 'pthread', checking whether it's usable...yes
-- Found flavour 'pth', checking whether it's usable...yes
-- Usable gpgme flavours found: vanilla pthread pth
CMake Warning (dev) at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86 (INCLUDE):
File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
includes /usr/share/apps/cmake/modules/CMakeParseArguments.cmake (found via
CMAKE_MODULE_PATH) which shadows
/usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake. This may cause
errors later on .
Policy CMP0017 is not set: Prefer files from the CMake module directory
when including from there. Run "cmake --help-policy CMP0017" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindDoxygen.cmake:79 (include)
CMakeLists.txt:78 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- checking for modules 'libxml-2.0;libxml++-2.6;glib-2.0;glibmm-2.4'
-- package 'libxml++-2.6' not found
-- package 'glibmm-2.4' not found
-- Found Libical version 0.44
-------- KMyMoney 4.5.90-svn1226298 --------
Output from cmake --help-policy CMP0017 is as follows
cmake version 2.8.4
CMP0017
Prefer files from the CMake module directory when including from
there.
Starting with CMake 2.8.4, if a cmake-module shipped with CMake (i.e.
located in the CMake module directory) calls include() or
find_package(), the files located in the the CMake module directory
are prefered over the files in CMAKE_MODULE_PATH. This makes sure
that the modules belonging to CMake always get those files included
which they expect, and against which they were developed and tested.
In call other cases, the files found in CMAKE_MODULE_PATH still take
precedence over the ones in the CMake module directory. The OLD
behaviour is to always prefer files from CMAKE_MODULE_PATH over files
from the CMake modules directory.
This policy was introduced in CMake version 2.8.4. CMake version
2.8.4 warns when the policy is not set and uses OLD behavior. Use the
cmake_policy command to set it to OLD or NEW explicitly.
Reproducible: Always
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list