From f1fee433be920cd7fe04ad2a418170d5bd05d2de Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Mon, 7 Sep 2020 01:31:35 +0530 Subject: [PATCH] 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 --- build_files/cmake/platform/platform_apple.cmake | 9 --------- build_files/cmake/platform/platform_unix.cmake | 9 --------- 2 files changed, 18 deletions(-) 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)