Use response files on Ninja for long paths

This commit is contained in:
Dale Glass 2023-12-08 14:15:19 -08:00
parent 7f85b1f9f2
commit f84cfec62e

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: