nixpkgs/pkgs/development/tools/database/pgagroal/do-not-search-libatomic.patch
2023-02-03 04:20:00 +00:00

16 lines
322 B
Diff

--- i/CMakeLists.txt
+++ w/CMakeLists.txt
@@ -78,12 +78,6 @@
endif()
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
- find_package(Libatomic)
- if (LIBATOMIC_FOUND)
- message(STATUS "libatomic found")
- else ()
- message(FATAL_ERROR "libatomic needed")
- endif()
find_package(Systemd)
if (SYSTEMD_FOUND)