Unverified Commit 51bd272a authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

owl: fix build with cmake4 (#455053)

parents 5c87a18c cb8251d2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -27,6 +27,13 @@ stdenv.mkDerivation {
    libpcap
  ];

  postPatch = ''
    substituteInPlace googletest/CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.8.8)" "cmake_minimum_required(VERSION 3.10)"
    substituteInPlace googletest/{googlemock,googletest}/CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.6.4)" "cmake_minimum_required(VERSION 3.10)"
  '';

  meta = with lib; {
    description = "Open Apple Wireless Direct Link (AWDL) implementation written in C";
    homepage = "https://owlink.org/";