mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-21 08:57:04 +00:00
Enable DEBUG flag differently
This commit is contained in:
parent
cec86cfc7d
commit
bd730f31c4
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ option(DISABLE_OPTIMIZATION "Build without compiler optimizations" OFF)
|
|||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
|
||||
if(DEBUG_BUILD)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb3 -DDEBUG")
|
||||
add_definitions(-DDEBUG)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb3")
|
||||
endif()
|
||||
|
||||
if(DISABLE_OPTIMIZATION)
|
||||
|
|
Loading…
Reference in a new issue