mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-03 14:57:13 +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")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
|
||||||
if(DEBUG_BUILD)
|
if(DEBUG_BUILD)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb3 -DDEBUG")
|
add_definitions(-DDEBUG)
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb3")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DISABLE_OPTIMIZATION)
|
if(DISABLE_OPTIMIZATION)
|
||||||
|
|
Loading…
Reference in a new issue