Commit bfae88fb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix CMake issue for mpcdec

parent 999bdad5
...@@ -408,6 +408,7 @@ if test "$TARGET" != "$BUILD"; then ...@@ -408,6 +408,7 @@ if test "$TARGET" != "$BUILD"; then
rm -f ${BUILDDIR}/toolchain.cmake rm -f ${BUILDDIR}/toolchain.cmake
if test ${DISTRO} = "win32"; then if test ${DISTRO} = "win32"; then
echo "SET(CMAKE_SYSTEM_NAME Windows)" >> "${toolchain_cmake}" echo "SET(CMAKE_SYSTEM_NAME Windows)" >> "${toolchain_cmake}"
echo "SET(CMAKE_RC_COMPILER ${TARGET}-windres)" >> "${toolchain_cmake}"
fi fi
case "$DISTRO" in macosx*) case "$DISTRO" in macosx*)
echo "SET(CMAKE_SYSTEM_NAME Darwin)" >> "${toolchain_cmake}" echo "SET(CMAKE_SYSTEM_NAME Darwin)" >> "${toolchain_cmake}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment