From c26705ddadbd1de42bc7738834a810f7c1cff05b Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Thu, 12 Dec 2019 13:09:57 +0100 Subject: [PATCH] Try to fix deps build on win32 with forwarding CMAKE_GENERATOR_PLATFORM --- deps/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 5e6d28b58..aeb078172 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -59,7 +59,7 @@ function(prusaslicer_add_cmake_project projectname) set(_gen "") set(_build_j "-j${NPROC}") if (MSVC) - set(_gen CMAKE_GENERATOR "${DEP_MSVC_GEN}") + set(_gen CMAKE_GENERATOR "${DEP_MSVC_GEN}" CMAKE_GENERATOR_PLATFORM "${DEP_PLATFORM}") set(_build_j "/m") endif ()