From: Alexander Smorkalov Date: Fri, 29 Nov 2013 11:34:50 +0000 (+0400) Subject: Some debug options are removed because they are installed by Cmake automatically. X-Git-Tag: accepted/tizen/ivi/20140515.103456~1^2~226^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d39e73365c668bf8189035ecceb098104e7bbf39;p=profile%2Fivi%2Fopencv.git Some debug options are removed because they are installed by Cmake automatically. Also forcing -ggdb3 on android leads to debuging issues. --- diff --git a/cmake/OpenCVCompilerOptions.cmake b/cmake/OpenCVCompilerOptions.cmake index 8ead1a1..5033b36 100644 --- a/cmake/OpenCVCompilerOptions.cmake +++ b/cmake/OpenCVCompilerOptions.cmake @@ -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)