From 7dda8dcdd038be809dc5ecdd5d7b1020a90b0f11 Mon Sep 17 00:00:00 2001 From: xoviat Date: Wed, 29 Nov 2017 11:49:54 -0600 Subject: [mpfr] fix portfile --- ports/mpfr/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/mpfr/portfile.cmake b/ports/mpfr/portfile.cmake index bd15515b3..acda3702c 100644 --- a/ports/mpfr/portfile.cmake +++ b/ports/mpfr/portfile.cmake @@ -13,7 +13,7 @@ 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}) +file(WRITE "${SOURCE_PATH}/mpfr.h" ${_contents}) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} -- cgit v1.2.3