diff options
| author | xoviat <xoviat@users.noreply.github.com> | 2017-11-29 11:49:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-29 11:49:09 -0600 |
| commit | 51c9c6eb619b35cab4e3875d3474e6fed148f80d (patch) | |
| tree | a0b2938f8353d283beca4e048f0a9d53953b3bea | |
| parent | 6de016f75347b01854614c46dcc8e34f0c22fc1b (diff) | |
| download | vcpkg-51c9c6eb619b35cab4e3875d3474e6fed148f80d.tar.gz vcpkg-51c9c6eb619b35cab4e3875d3474e6fed148f80d.zip | |
[mpfr] prepend stdint to header
| -rw-r--r-- | ports/mpfr/portfile.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/mpfr/portfile.cmake b/ports/mpfr/portfile.cmake index 0e82d2623..bd15515b3 100644 --- a/ports/mpfr/portfile.cmake +++ b/ports/mpfr/portfile.cmake @@ -10,6 +10,11 @@ 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}/mpfr.h" _contents) +string(CONCAT _contents "#include \"stdint.h\"\n" ${_contents}) +file(READ "${SOURCE_PATH}/mpfr.h" ${_contents}) + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} ) |
