ocamlPackages.llvm: fix CMake location for versions >= 13.0.0
This commit is contained in:
parent
3298100109
commit
3453f5713a
|
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
preConfigure = lib.optionalString (lib.versionAtLeast version "13.0.0") ''
|
||||||
|
cd llvm
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_SHARED_LIBS=YES" # fixes bytecode builds
|
"-DBUILD_SHARED_LIBS=YES" # fixes bytecode builds
|
||||||
"-DLLVM_OCAML_OUT_OF_TREE=TRUE"
|
"-DLLVM_OCAML_OUT_OF_TREE=TRUE"
|
||||||
|
|
Loading…
Reference in a new issue