bring back O3

This commit is contained in:
vaxerski 2022-07-01 10:37:07 +02:00
parent 91d68513de
commit 29ca7f9018

View file

@ -62,7 +62,7 @@ IF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Configuring Hyprland in Debug with CMake!") message(STATUS "Configuring Hyprland in Debug with CMake!")
add_definitions( -DHYPRLAND_DEBUG ) add_definitions( -DHYPRLAND_DEBUG )
ELSE() ELSE()
# add_compile_options(-O3) # may crash for some add_compile_options( -O3 )
message(STATUS "Configuring Hyprland in Release with CMake!") message(STATUS "Configuring Hyprland in Release with CMake!")
ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)