kicad: show version
This commit is contained in:
parent
f314157041
commit
c780dba59c
@ -19,8 +19,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "15cc81h7nh5dk6gj6mc4ylcgdznfriilhb43n1g3xwyq3s8iaibz";
|
sha256 = "15cc81h7nh5dk6gj6mc4ylcgdznfriilhb43n1g3xwyq3s8iaibz";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [ "-DKICAD_VERSION=${version}" ]
|
postPatch = ''
|
||||||
++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade_oce}" ]
|
substituteInPlace CMakeModules/KiCadVersion.cmake \
|
||||||
|
--replace no-vcs-found ${version}
|
||||||
|
'';
|
||||||
|
|
||||||
|
cmakeFlags =
|
||||||
|
optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade_oce}" ]
|
||||||
++ optional (ngspiceSupport) "-DKICAD_SPICE=ON"
|
++ optional (ngspiceSupport) "-DKICAD_SPICE=ON"
|
||||||
++ optionals (scriptingSupport) [
|
++ optionals (scriptingSupport) [
|
||||||
"-DKICAD_SCRIPTING=ON"
|
"-DKICAD_SCRIPTING=ON"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user