From 79b5d296c2e4d28db34e08aa59d5de8143a47bec Mon Sep 17 00:00:00 2001 From: Ben Davis Date: Fri, 10 Dec 2021 11:13:08 +0000 Subject: [PATCH] Remove DEBUG build option Users should use CMAKE_BUILD_TYPE to set the build type Change-Id: I526b3a96f798a39ceca11674bf1e0b6964a3da7d Signed-off-by: Ben Davis --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0001933..ebf9ebf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,10 +34,6 @@ if (NOT CLANG_TIDY STREQUAL "CLANG_TIDY-NOTFOUND") endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pthread -fPIC") -if (DEFINED DEBUG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0") -endif() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") set(CMAKE_CXX_STANDARD 11) -- 2.7.4