mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
osqp: fix cmake export
ref. https://github.com/osqp/osqp/pull/481 closes https://github.com/NixOS/nixpkgs/pull/235850
This commit is contained in:
parent
2064b01da3
commit
af6c05456c
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# ref https://github.com/osqp/osqp/pull/481
|
||||
# but this patch does not apply directly on v0.6.3
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace-fail \
|
||||
"$<INSTALL_PREFIX>/\''${CMAKE_INSTALL_INCLUDEDIR}" \
|
||||
"\''${CMAKE_INSTALL_FULL_INCLUDEDIR}"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user