mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
CMake: Disable logging for release build types.
These are: Release, MinSizeRel, and RelWithDebInfo. Closes #2913.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#define ELOGN(...)
|
||||
|
||||
// Logging is disabled if NDEBUG or DISABLE_LOG is defined.
|
||||
#ifdef NDEBUG
|
||||
#if !defined(DISABLE_LOG) && defined(NDEBUG)
|
||||
# define DISABLE_LOG
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user