D18822: Fix Windows build [hopefully]
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Sat Feb 9 16:22:46 GMT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190209/ab26af45/attachment.html>
More information about the Kde-frameworks-devel
mailing list