[Kde-pim] [kdepim] [Bug 349102] New: Fail cmake check when set -DBUILD_TESTING=OFF

Gustavo Alvarez sl1pkn07 at gmail.com
Sat Jun 13 14:59:39 BST 2015


https://bugs.kde.org/show_bug.cgi?id=349102

            Bug ID: 349102
           Summary: Fail cmake check when set -DBUILD_TESTING=OFF
           Product: kdepim
           Version: GIT (master)
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-pim at kde.org
          Reporter: sl1pkn07 at gmail.com

Hi

Hen set CMake -DBUILD_TESTING=OFF:

Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  kcheckcomboboxtest_gui
Call Stack (most recent call first):
  libkdepim/tests/CMakeLists.txt:21 (ecm_mark_as_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_kdhorizontalline
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:15 (add_kleo_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_jobs
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:16 (add_kleo_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_gnupgprocessbase
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:17 (add_kleo_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_cryptoconfig
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:18 (add_kleo_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_keyselectiondialog
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:19 (add_kleo_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_keygen
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:20 (add_kleo_test)


CMake Error at /usr/share/ECM/modules/ECMMarkAsTest.cmake:42
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  kleo-test_keylister
Call Stack (most recent call first):
  libkleo/tests/CMakeLists.txt:9 (ecm_mark_as_test)
  libkleo/tests/CMakeLists.txt:21 (add_kleo_test)

if set BUILD_TESTING=OFF works again

Reproducible: Always

Steps to Reproduce:
1.download kdepim and dependencies from git
2. set cmake options and include -DBUILD_TESTING=OFF
3. run cmake

Actual Results:  
fail cmake check

Expected Results:  
cmake chek ok

full cmake log http://sl1pkn07.wtf/paste/view/46a8bf1f

  cmake ../kdepim \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
    -DBUILD_TESTING=OFF \
    -DSYSCONF_INSTALL_DIR=/etc \
    -DCMAKE_SKIP_RPATH=ON

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
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