mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-10-26 14:14:15 +03:00
cmake: set asan for only hyprland not others
This commit is contained in:
parent
ab5497a0c9
commit
6914103289
@ -116,7 +116,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
|
||||
message(STATUS "Enabling ASan")
|
||||
|
||||
target_link_libraries(Hyprland asan)
|
||||
add_compile_options(-fsanitize=address)
|
||||
target_compile_options(Hyprland PUBLIC -fsanitize=address)
|
||||
endif()
|
||||
|
||||
if(USE_TRACY)
|
||||
|
Loading…
Reference in New Issue
Block a user