forked from bartvdbraak/blender
CMake/Windows: Compile GMP library as fat library
This commit is contained in:
parent
0c1c6e7ecf
commit
43e4d6e5b1
@ -20,7 +20,7 @@ set(GMP_EXTRA_ARGS -enable-cxx)
|
|||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# Shared for windows because static libs will drag in a libgcc dependency.
|
# 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()
|
else()
|
||||||
set(GMP_OPTIONS --enable-static --disable-shared )
|
set(GMP_OPTIONS --enable-static --disable-shared )
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user