diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-12-12 15:09:57 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-12-12 15:09:57 +0300 |
commit | c26705ddadbd1de42bc7738834a810f7c1cff05b (patch) | |
tree | b618597ae8c6ff43828d1b5722e89a87402e1892 /deps | |
parent | 03fee19fefdbc083b76ed1589f2188ba4efe8866 (diff) |
Try to fix deps build on win32 with forwarding CMAKE_GENERATOR_PLATFORM
Diffstat (limited to 'deps')
-rw-r--r-- | deps/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 () |