fix CMake debug mode

This commit is contained in:
vaxerski 2022-06-21 22:09:46 +02:00
parent f58bb0187b
commit a2fa1bc80d

View file

@ -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!")