reflect recent changes to MinGW cross compiling environment

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2025 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2009-02-12 23:33:49 +00:00
parent a4c1797822
commit 2c7306a661
2 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
2009-02-12 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* cmake/modules/Win32Toolchain.cmake:
reflect recent changes to MinGW cross compiling environment
* plugins/sf2_player/sf2_player.cpp:
update patch after loading settings (closes #2486372)

View File

@@ -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)