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)
|
set(CMAKE_VERBOSE_MAKEFILE 1)
|
||||||
endif()
|
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
|
# Indicate CMake 2.7 and above that we don't want to mix relative
|
||||||
# and absolute paths in linker lib lists.
|
# and absolute paths in linker lib lists.
|
||||||
|
@ -155,7 +155,7 @@ IF (OpenCV_HAVE_ANDROID_CAMERA)
|
|||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
endmacro()
|
endmacro()
|
||||||
ENDIF(ANDROID)
|
ENDIF()
|
||||||
|
|
||||||
# ======================================================
|
# ======================================================
|
||||||
# Version variables:
|
# Version variables:
|
||||||
|
Loading…
Reference in New Issue
Block a user