diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index be64a63..c4146b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,10 @@ add_definitions(-DUSE_TLS=1) add_executable(Bot) +if(CMAKE_BUILD_TYPE STREQUAL "Debug") + target_compile_definitions(Bot PRIVATE DEBUG_MODE) +endif() + set_target_properties( Bot PROPERTIES DESCRIPTION ${PROJECT_DESCRIPTION} |
