Skip to content

Commit

Permalink
cmake: remove forceful ffi and wayland deps for asan
Browse files Browse the repository at this point in the history
fixes #6050
  • Loading branch information
vaxerski committed May 13, 2024
1 parent 60be429 commit 47874f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 47874f0

Please sign in to comment.