mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:19:00 +08:00
[mpir] fix compilation on macOS (#12677)
also remove dependency on autotools
This commit is contained in:
parent
337893d706
commit
80d8bf5b72
@ -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()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user