From a2fa1bc80db40302fd3c2be24b1f063a0db19d44 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 21 Jun 2022 22:09:46 +0200 Subject: [PATCH] fix CMake debug mode --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e78eea0e..44246e7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,6 +59,7 @@ ENDIF(NO_XWAYLAND MATCHES true) IF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) message(STATUS "Configuring Hyprland in Debug with CMake!") + add_definitions( -DHYPRLAND_DEBUG ) ELSE() # add_compile_options(-O3) # may crash for some message(STATUS "Configuring Hyprland in Release with CMake!")