Specify Windows system instead of WIN32.

This commit is contained in:
n-a-c-h 2008-06-06 10:09:54 +00:00
parent a658f8b956
commit 64769379d8
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,7 @@ INCLUDE(CMakeScripts/CMakeASMInformation.cmake)
#Support building Windows builds from UNIX
IF ( WINCROSS )
SET( CMAKE_SYSTEM_NAME Windows )
SET( CMAKE_C_COMPILER i586-mingw32-gcc )
SET( CMAKE_CXX_COMPILER i586-mingw32-g++ )
SET( CMAKE_RANLIB i586-mingw32-ranlib )
@ -17,7 +18,6 @@ IF ( WINCROSS )
SET( CMAKE_OBJCOPY i586-mingw32-objcopy )
SET( CMAKE_OBJDUMP i586-mingw32-objdump )
SET( CMAKE_STRIP i586-mingw32-strip )
SET( WIN32 1 )
ENDIF ( WINCROSS )
# The project's name is VBA-M it uses assembly, C and C++ code