summaryrefslogtreecommitdiff
path: root/jp3d/libjp3dvm
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-11-17 10:26:05 +0000
committerAntonin Descampe <antonin@gmail.com>2010-11-17 10:26:05 +0000
commit223a39b51e24c3efe565c4c3276bcbd8c3d4db4d (patch)
tree56500a947b9207ba21d2b3c08736313f3070de2d /jp3d/libjp3dvm
parent8faf300b6e3d6fa9e16f6e3951646e69c52ef28e (diff)
minor changes in cmake files (from winfried)
Diffstat (limited to 'jp3d/libjp3dvm')
-rw-r--r--jp3d/libjp3dvm/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/jp3d/libjp3dvm/CMakeLists.txt b/jp3d/libjp3dvm/CMakeLists.txt
index 9cec396f..4c0fae41 100644
--- a/jp3d/libjp3dvm/CMakeLists.txt
+++ b/jp3d/libjp3dvm/CMakeLists.txt
@@ -1,4 +1,9 @@
-ADD_DEFINITIONS(-O3)
+IF(UNIX OR CYGWIN)
+ ADD_DEFINITIONS(-O3)
+ELSEIF(WIN32)
+ ADD_DEFINITIONS(/Os)
+ENDIF(UNIX OR CYGWIN)
+#
INCLUDE_REGULAR_EXPRESSION("^.*$")
# Defines the source code for the library
SET(JP3DVM_SRCS