diff options
| author | Fabian Wosar <fw@emsisoft.com> | 2017-03-21 20:03:24 +0100 |
|---|---|---|
| committer | Fabian Wosar <fw@emsisoft.com> | 2017-03-21 20:03:24 +0100 |
| commit | a9ec74f176328e4959dda5e5ebd4b389b2bf2028 (patch) | |
| tree | 925d09e2cb5251c27670a9b5530a6f26d8076443 | |
| parent | 2aab56942a58a435539b501e822f01b0b6302467 (diff) | |
| download | vcpkg-a9ec74f176328e4959dda5e5ebd4b389b2bf2028.tar.gz vcpkg-a9ec74f176328e4959dda5e5ebd4b389b2bf2028.zip | |
Fix paths in patch file
| -rw-r--r-- | ports/boost/portfile.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake index cde96e7c6..0d066629e 100644 --- a/ports/boost/portfile.cmake +++ b/ports/boost/portfile.cmake @@ -29,7 +29,8 @@ FILE(WRITE ${DIFF2} "${content}") vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH} PATCHES ${DIFF2}) FILE(READ "${TLS_DIFF}" content) -set(TLS_DIFF2 ${CURRENT_BUILDTREES_DIR}/src/boost-thread-on_tls_callback-bd0379af57fa294df310221492da618844182658.diff) +STRING(REGEX REPLACE "src/win32/" "libs/thread/src/win32/" content "${content}") +set(TLS_DIFF2 ${CURRENT_BUILDTREES_DIR}/src/boost-thread-on_tls_callback-bd0379af57fa294df310221492da618844182658.diff.fixed) FILE(WRITE ${TLS_DIFF2} "${content}") vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH} PATCHES ${TLS_DIFF2}) |
