Try to fix deps build on win32 with forwarding CMAKE_GENERATOR_PLATFORM
This commit is contained in:
parent
03fee19fef
commit
c26705ddad
2
deps/CMakeLists.txt
vendored
2
deps/CMakeLists.txt
vendored
@ -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 ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user