Merge pull request #764 from daleglass-overte/cmake-allow-long-paths-windows

Use response files on Ninja for long paths
This commit is contained in:
ksuprynowicz 2023-12-08 23:17:57 +01:00 committed by GitHub
commit 6265949688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,9 @@ endif()
# 3.14 is the minimum version that supports symlinks on Windows
cmake_minimum_required(VERSION 3.14)
# This should allow using long paths on Windows
SET(CMAKE_NINJA_FORCE_RESPONSE_FILE 1 CACHE INTERNAL "")
# Passing of variables to vcpkg
#
# vcpkg runs cmake scripts in an isolated environment, see this for details: