aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ports.cmake3
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")