Try to fix deps build on win32 with forwarding CMAKE_GENERATOR_PLATFORM

This commit is contained in:
tamasmeszaros 2019-12-12 13:09:57 +01:00
parent 03fee19fef
commit c26705ddad

2
deps/CMakeLists.txt vendored
View File

@ -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 ()