[vlc-commits] Contribs: fix CMake issue for mpcdec

Jean-Baptiste Kempf git at videolan.org
Tue Mar 15 13:20:02 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 15 13:19:26 2011 +0100| [bfae88fb24850ab031a1dd46e25fd5c764d00aa3] | committer: Jean-Baptiste Kempf

Contribs: fix CMake issue for mpcdec

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bfae88fb24850ab031a1dd46e25fd5c764d00aa3
---

 extras/contrib/bootstrap |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 32f4009..6932cda 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -408,6 +408,7 @@ if test "$TARGET" != "$BUILD"; then
     rm -f ${BUILDDIR}/toolchain.cmake
     if test ${DISTRO} = "win32"; then
         echo "SET(CMAKE_SYSTEM_NAME Windows)" >> "${toolchain_cmake}"
+        echo "SET(CMAKE_RC_COMPILER ${TARGET}-windres)" >> "${toolchain_cmake}"
     fi
     case "$DISTRO" in macosx*)
         echo "SET(CMAKE_SYSTEM_NAME Darwin)" >> "${toolchain_cmake}"



More information about the vlc-commits mailing list