removed duplicated compiler flags assignment
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user