[vlmc-devel] commit: Let cmake find the correct path to the mingw compiler ( Ludovic Fauvet )

git at videolan.org git at videolan.org
Mon Mar 15 11:08:59 CET 2010


vlmc | branch: 0.0.1-bugfix | Ludovic Fauvet <etix at l0cal.com> | Mon Mar 15 11:06:24 2010 +0100| [4d44d2b74f535b2478b68d31907b9acceaaa4d87] | committer: Ludovic Fauvet 

Let cmake find the correct path to the mingw compiler

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=4d44d2b74f535b2478b68d31907b9acceaaa4d87
---

 cmake/toolchain-win32.cmake |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/toolchain-win32.cmake b/cmake/toolchain-win32.cmake
index 1f88c8b..967e0a7 100644
--- a/cmake/toolchain-win32.cmake
+++ b/cmake/toolchain-win32.cmake
@@ -4,8 +4,8 @@ SET(CMAKE_SYSTEM_NAME Windows)
 SET(CMAKE_SYSTEM_VERSION 1)
 
 # specify the cross compiler
-SET(CMAKE_C_COMPILER   /usr/bin/i486-mingw32-gcc)
-SET(CMAKE_CXX_COMPILER /usr/bin/i486-mingw32-g++)
+SET(CMAKE_C_COMPILER   i486-mingw32-gcc)
+SET(CMAKE_CXX_COMPILER i486-mingw32-g++)
 
 # where is the target environment 
 SET(CMAKE_FIND_ROOT_PATH  ${CMAKE_SOURCE_DIR}/contribs)



More information about the Vlmc-devel mailing list