libkml: fix tests on darwin

Darwin tests require rpath setup for libs in build dir
This commit is contained in:
Ryan Burns 2020-09-23 19:40:21 -07:00
parent 6bbdbaabae
commit 357014e09c

View File

@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_TESTING=ON"
# Darwin tests require rpath for libs in build dir
] ++ stdenv.lib.optional stdenv.isDarwin [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
];
buildInputs = [