From 12b07484aa2ab8099356c9e6e2bbb77a3d276e5a Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 12 Feb 2009 23:34:20 +0000 Subject: [PATCH] reflect recent changes to MinGW cross compiling environment (stable backport) git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2026 0778d3d1-df1d-0410-868b-ea421aaaa00d --- cmake/modules/Win32Toolchain.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/modules/Win32Toolchain.cmake b/cmake/modules/Win32Toolchain.cmake index ea1a13e67..8318ed367 100644 --- a/cmake/modules/Win32Toolchain.cmake +++ b/cmake/modules/Win32Toolchain.cmake @@ -4,16 +4,16 @@ SET(CMAKE_SYSTEM_NAME Windows) SET(CMAKE_SYSTEM_VERSION 1) SET(CMAKE_SYSTEM_PROCESSOR i686) -SET(CMAKE_INSTALL_PREFIX /opt/mingw) +SET(CMAKE_INSTALL_PREFIX /opt/mingw32) -SET(CC_PREFIX /opt/mingw) +SET(CC_PREFIX /opt/mingw32) # specify the cross compiler -SET(CMAKE_C_COMPILER ${CC_PREFIX}/bin/i586-mingw32-gcc) -SET(CMAKE_CXX_COMPILER ${CC_PREFIX}/bin/i586-mingw32-g++) +SET(CMAKE_C_COMPILER ${CC_PREFIX}/bin/i586-pc-mingw32-gcc) +SET(CMAKE_CXX_COMPILER ${CC_PREFIX}/bin/i586-pc-mingw32-g++) # where is the target environment -SET(CMAKE_FIND_ROOT_PATH /opt/mingw) +SET(CMAKE_FIND_ROOT_PATH /opt/mingw32) SET(QT_BINARY_DIR ${CC_PREFIX}/bin) SET(QT_LIBRARY_DIR ${CC_PREFIX}/lib)