mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 07:45:58 +01:00
fix CMake debug mode
This commit is contained in:
parent
f58bb0187b
commit
a2fa1bc80d
1 changed files with 1 additions and 0 deletions
|
@ -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!")
|
||||
|
|
Loading…
Reference in a new issue