mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 03:27:12 +01:00
[boost] Patch for boost::range should not overwrite the downloaded patch
This commit is contained in:
parent
4681f3de60
commit
1510af081a
@ -17,8 +17,9 @@ vcpkg_download_distfile(DIFF
|
|||||||
)
|
)
|
||||||
FILE(READ "${DIFF}" content)
|
FILE(READ "${DIFF}" content)
|
||||||
STRING(REGEX REPLACE "include/" "" content "${content}")
|
STRING(REGEX REPLACE "include/" "" content "${content}")
|
||||||
FILE(WRITE ${DIFF} "${content}")
|
set(DIFF2 ${CURRENT_BUILDTREES_DIR}/src/boost-range-has_range_interator-hotfix_e7ebe14707130cda7b72e0ae5e93b17157fdb6a2.diff.fixed)
|
||||||
vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH} PATCHES ${DIFF})
|
FILE(WRITE ${DIFF2} "${content}")
|
||||||
|
vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH} PATCHES ${DIFF2})
|
||||||
|
|
||||||
if(NOT EXISTS ${SOURCE_PATH}/b2.exe)
|
if(NOT EXISTS ${SOURCE_PATH}/b2.exe)
|
||||||
message(STATUS "Bootstrapping")
|
message(STATUS "Bootstrapping")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user