projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor changes in cmake files (from winfried)
[openjpeg.git]
/
libjp3dvm
/
CMakeLists.txt
diff --git
a/libjp3dvm/CMakeLists.txt
b/libjp3dvm/CMakeLists.txt
index 9cec396f9c1b4c325429ebb3168cfcb81db492b4..4c0fae41570d9a2ead55448280f0adb79ad0c7fe 100644
(file)
--- 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