[Bf-blender-cvs] [f1fee433be9] master: GMP/CMake: Remove duplicate GMP search logic.

Ankit Meel noreply at git.blender.org
Thu Sep 24 11:50:11 CEST 2020


Commit: f1fee433be920cd7fe04ad2a418170d5bd05d2de
Author: Ankit Meel
Date:   Mon Sep 7 01:31:35 2020 +0530
Branches: master
https://developer.blender.org/rBf1fee433be920cd7fe04ad2a418170d5bd05d2de

GMP/CMake: Remove duplicate GMP search logic.

Original was added in rB83f8223543f58c3b0881a03b6e9ddffff91.
Duplicate was added in the merge rB9e09b5c418c0a436e3c84ccf.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8822

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

M	build_files/cmake/platform/platform_apple.cmake
M	build_files/cmake/platform/platform_unix.cmake

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

diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index 6bcb3ef5d8c..394eac8d0d8 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -417,15 +417,6 @@ if(WITH_TBB)
   find_package(TBB)
 endif()
 
-if(WITH_GMP)
-  find_package(GMP)
-
-  if(NOT GMP_FOUND)
-    set(WITH_GMP OFF)
-    message(STATUS "GMP not found")
-  endif()
-endif()
-
 if(WITH_POTRACE)
   find_package(Potrace)
   if(NOT POTRACE_FOUND)
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index bf611f56ce1..58de3b34961 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -434,15 +434,6 @@ if(WITH_TBB)
   find_package_wrapper(TBB)
 endif()
 
-if(WITH_GMP)
-  find_package(GMP)
-
-  if(NOT GMP_FOUND)
-    set(WITH_GMP OFF)
-    message(STATUS "GMP not found")
-  endif()
-endif()
-
 if(WITH_XR_OPENXR)
   find_package(XR_OpenXR_SDK)
   if(NOT XR_OPENXR_SDK_FOUND)



More information about the Bf-blender-cvs mailing list