From 8206954a67b96702619ba70d011b454696a608ef Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 28 May 2023 15:28:53 +0200 Subject: build: remove LOG_DEBUG option Its usecase is too specific to warrant an option. The same effect can be achieved by passing `-DCMAKE_C_FLAGS=-DNVIM_LOG_DEBUG` in the command line when building neovim. --- src/nvim/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 47f32abc07..222b283a5d 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -394,9 +394,6 @@ endif() if($ENV{CI}) # Don't debug log on CI, it gets too verbose in the main build log. # TODO(bfredl): debug log level also exposes some errors with EXITFREE in ASAN build. - set(LOG_DEBUG FALSE) -elseif(LOG_DEBUG) - target_compile_definitions(nvim PRIVATE NVIM_LOG_DEBUG) else() # Minimize logging for release-type builds. target_compile_definitions(nvim PRIVATE $<$:NVIM_LOG_DEBUG>) -- cgit