From fb6d84918d3fd6845f3a8376fc92984839783a2a Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Wed, 17 Nov 2010 10:26:05 +0000 Subject: [PATCH] minor changes in cmake files (from winfried) --- libjp3dvm/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2