fixed flags when building jp3d with MinGW

This commit is contained in:
Antonin Descampe 2010-12-11 23:23:02 +00:00
parent 428dea2e25
commit 4c9a4ee2fa
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
IF(UNIX OR CYGWIN)
ADD_DEFINITIONS(-O3)
ELSEIF(MINGW)
ADD_DEFINITIONS(-Os)
ELSEIF(WIN32)
ADD_DEFINITIONS(/Os)
ENDIF(UNIX OR CYGWIN)