Hello,<br><br>The attached patch makes FindPhonon.cmake find release and debug variants of the Phonon library. This is most useful on Windows. After applying this patch, release builds of KDE will link to the release variant of Phonon, and debug builds of KDE will link to the debug variant of Phonon.<br>
<br>New variables (PHONON_LIBRARY_RELEASE, PHONON_LIBRARY_DEBUG) are introduced but they should never be used directly. If no debug variant of Phonon is found, PHONON_LIBS is set to the release version. <br><br>For backwards compatibily, PHONON_LIBRARY is set to the value of PHONON_LIBRARY_RELEASE, although PHONON_LIBRARY should never have been used anywhere.<br clear="all">
<br>We have been using this at work for some time now, both on Windows and Linux, and it works fine for us. <br><br>Is it OK to commit?<br><br>-- <br>Pau Garcia i Quiles<br><a href="http://www.elpauer.org">http://www.elpauer.org</a><br>
(Due to my workload, I may need 10 days to answer)<br>