scalp: fix build with cmake 4
This commit is contained in:
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace-fail "cmake_minimum_required (VERSION 3.3.2)" "cmake_minimum_required (VERSION 3.5)" \
|
||||||
--replace-fail "\''$ORIGIN" "\''${CMAKE_INSTALL_PREFIX}/lib" \
|
--replace-fail "\''$ORIGIN" "\''${CMAKE_INSTALL_PREFIX}/lib" \
|
||||||
--replace-fail "-m64" ""
|
--replace-fail "-m64" ""
|
||||||
substituteInPlace src/tests/CMakeLists.txt \
|
substituteInPlace src/tests/CMakeLists.txt \
|
||||||
|
|||||||
Reference in New Issue
Block a user