[patch] fix building of phonon tests under mingw
Holger Schröder
schroder at kde.org
Tue Jun 5 16:37:28 BST 2007
Hi,
the following patch makes the phonon tests build under mingw under windows xp.
it needs to link against kdewin32, so that it can find ::sleep.
and when methodtest.cpp is build, PHONON_EXPORT must be defined empty. i came
up with the patch to phonon_export.h.cmake, because a define like this like
in solid obviuosly does not work:
if(WIN32)
set_target_properties(methodtest PROPERTIES COMPILE_FLAGS -DPHONON_EXPORT=)
endif(WIN32)
ok to commit ?
regards, Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phonon-win32.patch
Type: text/x-diff
Size: 2022 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070605/dcd77ddc/attachment.patch>
More information about the kde-core-devel
mailing list