2024-03-01 17:14:28 +03:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-04-24 18:44:15 +03:00
|
|
|
index f54cdf5d..ad7c3e73 100755
|
2024-03-01 17:14:28 +03:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-04-24 18:44:15 +03:00
|
|
|
@@ -130,6 +130,8 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
|
2024-03-01 17:14:28 +03:00
|
|
|
message(STATUS "Enabling ASan")
|
|
|
|
|
|
|
|
target_link_libraries(Hyprland asan)
|
2024-04-24 18:44:15 +03:00
|
|
|
+ pkg_check_modules(ffidep REQUIRED IMPORTED_TARGET libffi)
|
|
|
|
+ target_link_libraries(Hyprland ${CMAKE_SOURCE_DIR}/libwayland-server.a PkgConfig::ffidep)
|
2024-03-01 17:14:28 +03:00
|
|
|
target_compile_options(Hyprland PUBLIC -fsanitize=address)
|
|
|
|
endif()
|
2024-03-22 21:34:12 +03:00
|
|
|
|