removed duplicated compiler flags assignment

This commit is contained in:
Andrey Kamaev 2011-07-05 06:42:56 +00:00
parent 4f7a8f6fb0
commit ff8fe39e23
2 changed files with 1 additions and 7 deletions

View File

@ -59,12 +59,6 @@ if(CMAKE_VERBOSE)
set(CMAKE_VERBOSE_MAKEFILE 1)
endif()
if (WIN32)
if(${CMAKE_GENERATOR} MATCHES "(MinGW)|(MSYS)")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG" CACHE STRING "")
endif()
endif()
# --------------------------------------------------------------
# Indicate CMake 2.7 and above that we don't want to mix relative
# and absolute paths in linker lib lists.

View File

@ -155,7 +155,7 @@ IF (OpenCV_HAVE_ANDROID_CAMERA)
)
endforeach()
endmacro()
ENDIF(ANDROID)
ENDIF()
# ======================================================
# Version variables: