cygwin: cmake expression should not change for linux

This commit is contained in:
Rok Garbas 2015-06-10 14:37:46 +02:00
parent b980b7445f
commit 0860826795

View file

@ -53,6 +53,7 @@ stdenv.mkDerivation rec {
"--docdir=/share/doc/${name}" "--docdir=/share/doc/${name}"
"--mandir=/share/man" "--mandir=/share/man"
] ]
++ optional (!stdenv.isCygwin) "--system-libs"
++ optional (jsoncpp == null || stdenv.isCygwin) "--no-system-jsoncpp" ++ optional (jsoncpp == null || stdenv.isCygwin) "--no-system-jsoncpp"
++ optional useQt4 "--qt-gui" ++ optional useQt4 "--qt-gui"
++ ["--"] ++ ["--"]