Unverified Commit f7213c5c authored by Toma's avatar Toma Committed by GitHub
Browse files

inochi-{session,creator}: fix build (#458172)

parents 23ec23e0 26f6eea8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -92,6 +92,10 @@ buildDubPackage (
      # We get around this by manually pre-fetching the submodule and copying it into the right place
      cp -r --no-preserve=all ${cimgui-src}/* "$cimgui_dir/deps/cimgui"

      # bump cmake minimum version to a version supported by cmake 4
      substituteInPlace "$cimgui_dir/deps/cimgui/CMakeLists.txt" \
          --replace-fail "cmake_minimum_required(VERSION 3.1)" "cmake_minimum_required(VERSION 3.10)"

      # Disable the original cmake fetcher script
      substituteInPlace "$cimgui_dir/deps/CMakeLists.txt" \
          --replace-fail "PullSubmodules(" "# PullSubmodules(" \