kossebau added a comment.

  Given the autotests reuse the source files from the lib (and thus also using 
the headers) the export macros confuse windows here.
  
  So in autotests/CMakeLists,txt, one needs to extend
  
    target_compile_definitions(kauth_tests_static PUBLIC KAUTH_STATIC_DEFINE=1)
  
  into
  
    target_compile_definitions(kauth_tests_static PUBLIC 
KAUTHCORE_STATIC_DEFINE=1 PUBLIC KAUTH_STATIC_DEFINE=1)
  
  Cmp. the generated src/kauthcore_export.h in case you wonder how this 
(assumingly) fixes things :)

REPOSITORY
  R283 KAuth

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

To: aacid, vonreth
Cc: albertvaka, kossebau, vonreth, kde-frameworks-devel, michaelh, ngraham, 
bruns

Reply via email to