diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-07-31 18:34:26 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-07-31 18:34:26 +0300 |
commit | 83f8223543f58c3b0881a03b6e9ddffff918b680 (patch) | |
tree | 958e27296ccac727cd1f1c5dd3f134f2728f42a5 /source | |
parent | a2c6c51647d3a8f80e8057262882d9bf61055074 (diff) |
Deps builder: Add support for building GMP
Required for the new boolean code, disabled by default
until all platforms have landed the libs and the boolean
code actually lands in master.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D8384
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index aed2a9350bb..8784d9f1744 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -694,6 +694,23 @@ elseif(WIN32) ) endif() + if(WITH_GMP) + install( + FILES ${LIBDIR}/gmp/lib/libgmp-10.dll + DESTINATION "." + ) + install( + FILES ${LIBDIR}/gmp/lib/libgmpxx.dll + DESTINATION "." + CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel + ) + install( + FILES ${LIBDIR}/gmp/lib/libgmpxx_d.dll + DESTINATION "." + CONFIGURATIONS Debug + ) + endif() + if(WITH_WINDOWS_PDB) if(WITH_WINDOWS_STRIPPED_PDB) # Icky hack for older cmake from https://stackoverflow.com/a/21198501 |