summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-12-11 23:23:02 +0000
committerAntonin Descampe <antonin@gmail.com>2010-12-11 23:23:02 +0000
commit4c9a4ee2fae893be2b92f19806be54588567450a (patch)
treeab455850f612a2f07701f354606d25ce5fb7df4c
parent428dea2e25e4b431bfd5edb73af2911668f8457b (diff)
fixed flags when building jp3d with MinGW
-rw-r--r--libjp3dvm/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjp3dvm/CMakeLists.txt b/libjp3dvm/CMakeLists.txt
index f27ca1d4..23482483 100644
--- a/libjp3dvm/CMakeLists.txt
+++ b/libjp3dvm/CMakeLists.txt
@@ -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)