diff --git a/CMakeLists.txt b/CMakeLists.txt index de745527..88d2d279 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,6 +97,8 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) message(STATUS "Setting debug flags") if (WITH_ASAN) + message(STATUS "Enabling ASan") + target_link_libraries(Hyprland asan) add_compile_options(-fsanitize=address) endif()