cmake: set asan for only hyprland not others

This commit is contained in:
Vaxry 2023-10-31 21:45:27 +00:00
parent ab5497a0c9
commit 6914103289

View file

@ -116,7 +116,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Enabling ASan") message(STATUS "Enabling ASan")
target_link_libraries(Hyprland asan) target_link_libraries(Hyprland asan)
add_compile_options(-fsanitize=address) target_compile_options(Hyprland PUBLIC -fsanitize=address)
endif() endif()
if(USE_TRACY) if(USE_TRACY)