[CMAKE] Pass the architecture to host tools configure phase.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 7 Nov 2015 17:18:19 +0000 (17:18 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 7 Nov 2015 17:18:19 +0000 (17:18 +0000)
svn path=/trunk/; revision=69835

reactos/cmake/host-tools.cmake

index c4b0dc7..f3b7743 100644 (file)
@@ -32,6 +32,6 @@ ExternalProject_Add(host-tools
     BUILD_ALWAYS 1
     PREFIX host-tools
     EXCLUDE_FROM_ALL 1
-    CMAKE_ARGS "-DNEW_STYLE_BUILD=1"
+    CMAKE_ARGS "-DNEW_STYLE_BUILD=1 -DARCH:STRING=${ARCH}"
     INSTALL_COMMAND ""
     BUILD_BYPRODUCTS ${tools_binaries})