Merge pull request #48602 from matthewbauer/cmake-cross
Set CMAKE_SYSTEM_* for cross compiling
This commit is contained in:
@@ -13,8 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake libxslt/*manpage*/ ];
|
||||
|
||||
cmakeFlags = stdenv.lib.optional
|
||||
(stdenv.hostPlatform.libc or null == "msvcrt") "-DCMAKE_SYSTEM_NAME=Windows";
|
||||
cmakeFlags = [];
|
||||
|
||||
# ATM bin/tidy is statically linked, as upstream provides no other option yet.
|
||||
# https://github.com/htacg/tidy-html5/issues/326#issuecomment-160322107
|
||||
|
||||
Reference in New Issue
Block a user