[Bf-blender-cvs] [43e4d6e5b14] master: CMake/Windows: Compile GMP library as fat library

Ray Molenkamp noreply at git.blender.org
Tue Oct 20 21:05:29 CEST 2020


Commit: 43e4d6e5b1425860d5820e866c012a6ebd046a19
Author: Ray Molenkamp
Date:   Tue Oct 20 13:04:53 2020 -0600
Branches: master
https://developer.blender.org/rB43e4d6e5b1425860d5820e866c012a6ebd046a19

CMake/Windows: Compile GMP library as fat library

===================================================================

M	build_files/build_environment/cmake/gmp.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/gmp.cmake b/build_files/build_environment/cmake/gmp.cmake
index 54250bad153..7e3bb3258a4 100644
--- a/build_files/build_environment/cmake/gmp.cmake
+++ b/build_files/build_environment/cmake/gmp.cmake
@@ -20,7 +20,7 @@ set(GMP_EXTRA_ARGS -enable-cxx)
 
 if(WIN32)
   # Shared for windows because static libs will drag in a libgcc dependency.
-  set(GMP_OPTIONS --disable-static --enable-shared --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32)
+  set(GMP_OPTIONS --disable-static --enable-shared --enable-fat --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32)
 else()
   set(GMP_OPTIONS --enable-static --disable-shared )
 endif()



More information about the Bf-blender-cvs mailing list