D28759: Akonadi-contacts: define BUILD_TESTING in order that CONTACTEDITOR_TESTS_EXPORT is properly defined

Laurent Montel noreply at phabricator.kde.org
Sun Apr 12 14:06:04 BST 2020


mlaurent requested changes to this revision.
mlaurent added a comment.
This revision now requires changes to proceed.


  Arg without arc it's not easy to see all code.
  
  Add
  
  if (BUILD_TESTING)
  	​    add_definitions(-DBUILD_TESTING) #properly define CONTACTEDITOR_TESTS_EXPORT
  endif()
  
  before to generate lib.
  if you add before autotests lib will not compiled with correct flags.

REPOSITORY
  R459 Akonadi Contacts

REVISION DETAIL
  https://phabricator.kde.org/D28759

To: winterz, vonreth, dvratil, mlaurent
Cc: vonreth, kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200412/079a9290/attachment.html>


More information about the kde-pim mailing list