diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2020-08-01 16:18:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-01 16:18:12 -0700 |
| commit | 80d8bf5b72cdda9cac63b4e56a0b592b5830aff4 (patch) | |
| tree | 1d60f65f4c9a9065302557b528e40a746355502c | |
| parent | 337893d706cb5ee66856c8209a52a0ede67236f3 (diff) | |
| download | vcpkg-80d8bf5b72cdda9cac63b4e56a0b592b5830aff4.tar.gz vcpkg-80d8bf5b72cdda9cac63b4e56a0b592b5830aff4.zip | |
[mpir] fix compilation on macOS (#12677)
also remove dependency on autotools
| -rw-r--r-- | ports/mpir/portfile.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ports/mpir/portfile.cmake b/ports/mpir/portfile.cmake index a983b473e..f5a85766d 100644 --- a/ports/mpir/portfile.cmake +++ b/ports/mpir/portfile.cmake @@ -29,10 +29,12 @@ if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX) endif() set(OPTIONS --disable-silent-rules --enable-gmpcompat --enable-cxx ${SHARED_STATIC}) + + string(APPEND VCPKG_C_FLAGS " -Wno-implicit-function-declaration") + string(APPEND VCPKG_CXX_FLAGS " -Wno-implicit-function-declaration") vcpkg_configure_make( SOURCE_PATH ${SOURCE_PATH} - AUTOCONFIG OPTIONS ${OPTIONS} ) @@ -138,4 +140,4 @@ elseif(VCPKG_TARGET_IS_WINDOWS) vcpkg_copy_pdbs() file(INSTALL ${SOURCE_PATH}/COPYING.lib DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -endif()
\ No newline at end of file +endif() |
