diff options
| author | Cristian Adam <cristian.adam@gmail.com> | 2020-07-18 17:48:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-18 08:48:01 -0700 |
| commit | f4bd64233ae875b6b3315fe4fab279335a6adf2b (patch) | |
| tree | 76203f90a07094662dfffd4f90f383f0a4559c0b /scripts | |
| parent | 751fc627ef4f1c319b04e1c364e24b4da965e273 (diff) | |
| download | vcpkg-f4bd64233ae875b6b3315fe4fab279335a6adf2b.tar.gz vcpkg-f4bd64233ae875b6b3315fe4fab279335a6adf2b.zip | |
Build fix with MinGW GCC 9.2.0 (#12084)
* Build fix with MinGW GCC 9.2.0
* Fix MinGW tripplets
Fixes #12065
* clang-format
* Fix unused read_symlink_implementation warning marked as error
read_symlink_implementation was used only in copy_symlink_implementation
when #if defined(_WIN32) && !VCPKG_USE_STD_FILESYSTEM was true.
Removed the warning otherwise.
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/ports.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ports.cmake b/scripts/ports.cmake index f4ac28e6a..5e21e3d7d 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -17,6 +17,9 @@ if((NOT DEFINED VCPKG_ROOT_DIR) ]]) endif() +file(TO_CMAKE_PATH ${BUILDTREES_DIR} BUILDTREES_DIR) +file(TO_CMAKE_PATH ${PACKAGES_DIR} PACKAGES_DIR) + list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake) set(CURRENT_INSTALLED_DIR ${_VCPKG_INSTALLED_DIR}/${TARGET_TRIPLET} CACHE PATH "Location to install final packages") set(SCRIPTS ${CMAKE_CURRENT_LIST_DIR} CACHE PATH "Location to stored scripts") |
