[Kde-pim] kdepimlibs 4.14 CMake failures

Allen Winter winter at kde.org
Mon Jul 20 13:37:16 BST 2015


Howdy,
I tried building kdepimlibs from scratch this morning and am encountering these CMake 3.0.2 errors:
Anyone else experiencing this?  Or know how to fix?

CMake Error at gpgme++/CMakeLists.txt:61 (get_target_property):
  The LOCATION property may not be read from target "gpgmepp".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.



CMake Error at gpgme++/CMakeLists.txt:103 (get_target_property):
  The LOCATION property may not be read from target "gpgmepp".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.



CMake Warning (dev) at gpgme++/CMakeLists.txt:120 (EXPORT_LIBRARY_DEPENDENCIES):
  Policy CMP0033 is not set: The export_library_dependencies command should
  not be called.  Run "cmake --help-policy CMP0033" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.


There are couple other warnings due to policy CMP0002:

Make Warning (dev) at /data/mykde/share/apps/cmake/modules/KDE4Macros.cmake:1029 (add_executable):
  Policy CMP0002 is not set: Logical target names must be globally unique.
  Run "cmake --help-policy CMP0002" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /data/mykde/share/apps/cmake/modules/KDE4Macros.cmake:869 (kde4_add_executable)
  kimap/tests/CMakeLists.txt:14 (kde4_add_unit_test)
  kimap/tests/CMakeLists.txt:32 (KIMAP_UNIT_TESTS)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /data/mykde/share/apps/cmake/modules/KDE4Macros.cmake:1029 (add_executable):
  Policy CMP0002 is not set: Logical target names must be globally unique.
  Run "cmake --help-policy CMP0002" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /data/mykde/share/apps/cmake/modules/KDE4Macros.cmake:869 (kde4_add_executable)
  kimap/tests/CMakeLists.txt:14 (kde4_add_unit_test)
  kimap/tests/CMakeLists.txt:32 (KIMAP_UNIT_TESTS)

... 


_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list