summaryrefslogtreecommitdiff
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
commitfb6d84918d3fd6845f3a8376fc92984839783a2a (patch)
treed0f4dbde04412dd05872b9673a94a5d6c18e741b
parent3d5ba9671aa55231f2fe79e4ebc488d8745d1efe (diff)
minor changes in cmake files (from winfried)
-rw-r--r--libjp3dvm/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/libjp3dvm/CMakeLists.txt b/libjp3dvm/CMakeLists.txt
index 9cec396f..4c0fae41 100644
--- a/libjp3dvm/CMakeLists.txt
+++ b/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