cmake: remove forceful ffi and wayland deps for asan

fixes #6050
This commit is contained in:
Vaxry 2024-05-13 15:29:18 +01:00
parent 60be4298e1
commit 47874f09f4

View File

@ -130,8 +130,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Enabling ASan")
target_link_libraries(Hyprland asan)
pkg_check_modules(ffidep REQUIRED IMPORTED_TARGET libffi)
target_link_libraries(Hyprland ${CMAKE_SOURCE_DIR}/libwayland-server.a PkgConfig::ffidep)
target_compile_options(Hyprland PUBLIC -fsanitize=address)
endif()