depot/third_party/nixpkgs/pkgs/by-name/pg/pgagroal/do-not-search-libatomic.patch
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

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