depot/third_party/nixpkgs/pkgs/development/tools/database/pgagroal/do-not-search-libatomic.patch

16 lines
322 B
Diff
Raw Normal View History

--- 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)