mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:59:00 +08:00
[mpfr] revert portfile patch
This commit is contained in:
parent
e0362393cf
commit
8c6eb97ec7
@ -10,11 +10,6 @@ vcpkg_extract_source_archive(${ARCHIVE})
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/gmp_printf.c DESTINATION ${SOURCE_PATH}/src)
|
||||
|
||||
# Prepend stdint to the mpfr header
|
||||
file(READ "${SOURCE_PATH}/src/mpfr.h" _contents)
|
||||
string(CONCAT _contents "#include \"stdint.h\"\n" ${_contents})
|
||||
file(WRITE "${SOURCE_PATH}/src/mpfr.h" ${_contents})
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user