windows: refactor

This commit is contained in:
Matthew Bauer
2018-08-07 14:16:55 -04:00
parent 31e11bdd60
commit 9cee386f38
11 changed files with 57 additions and 115 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ flex qmake4Hook ];
QTDIR = qt48;
# cmakeFlags = "-DWIN32=1 -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_RC_COMPILER=${stdenv.cc.targetPrefix}windres";
preBuild = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''