Remove redundant -DCMAKE_BUILD_TYPE=Release flags

Since commit 183d05a0 in 2012, this is the default.

fixes #18000
This commit is contained in:
Aneesh Agrawal
2016-10-01 16:13:41 +02:00
committed by Jörg Thalheim
parent 0e3e7a6bcd
commit fcee1d0b28
39 changed files with 39 additions and 83 deletions
@@ -21,11 +21,10 @@ stdenv.mkDerivation rec {
sha256 = "0vrzykgxx423iwgz6186bi8724kmbi5wfl92gfwb3r6mqammgwpg";
})
];
sourceRoot = "kicad-${version}";
cmakeFlags = ''
-DCMAKE_BUILD_TYPE=Release
-DKICAD_SKIP_BOOST=ON
-DKICAD_BUILD_VERSION=${version}
-DKICAD_REPO_NAME=stable
@@ -43,7 +42,7 @@ stdenv.mkDerivation rec {
postUnpack = ''
pushd $(pwd)
'';
'';
postInstall = ''
popd
@@ -53,7 +52,7 @@ stdenv.mkDerivation rec {
make $MAKE_FLAGS
make install
popd
pushd kicad-footprints-*
mkdir -p $out/share/kicad/modules
cp -R *.pretty $out/share/kicad/modules/