mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
removed duplicated compiler flags assignment
This commit is contained in:
parent
4f7a8f6fb0
commit
ff8fe39e23
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user