Commit ff8fe39e authored by Andrey Kamaev's avatar Andrey Kamaev

removed duplicated compiler flags assignment

parent 4f7a8f6f
......@@ -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.
......
......@@ -155,7 +155,7 @@ IF (OpenCV_HAVE_ANDROID_CAMERA)
)
endforeach()
endmacro()
ENDIF(ANDROID)
ENDIF()
# ======================================================
# Version variables:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment