Some debug options are removed because they are installed by Cmake automatically.

Also forcing -ggdb3 on android leads to debuging issues.
This commit is contained in:
Alexander Smorkalov 2013-11-29 15:34:50 +04:00
parent 41154b30de
commit d39e73365c

View File

@ -183,9 +183,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(OPENCV_EXTRA_FLAGS_RELEASE "${OPENCV_EXTRA_FLAGS_RELEASE} -DNDEBUG")
set(OPENCV_EXTRA_FLAGS_DEBUG "${OPENCV_EXTRA_FLAGS_DEBUG} -O0 -DDEBUG -D_DEBUG")
if(BUILD_WITH_DEBUG_INFO)
set(OPENCV_EXTRA_FLAGS_DEBUG "${OPENCV_EXTRA_FLAGS_DEBUG} -ggdb3")
endif()
endif()
if(MSVC)