diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2020-09-06 23:01:35 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-09-24 12:50:07 +0300 |
commit | f1fee433be920cd7fe04ad2a418170d5bd05d2de (patch) | |
tree | ec170c5cad3ed5639f71d725ee3e77079a5c72da /build_files | |
parent | 4786719dbd1916a049e608c033b7f452b1d156c2 (diff) |
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
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 9 | ||||
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 9 |
2 files changed, 0 insertions, 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) |