Commit 5676e59d authored by Jan Möbius's avatar Jan Möbius

Try shorter paths

Try shorter paths
parent 1c374ba6
Pipeline #3090 canceled with stage
in 42 seconds
......@@ -4,9 +4,10 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
# Workaround to ensure that the path lengths don't get too long
if ( WIN32 )
set( CMAKE_OBJECT_PATH_MAX 220 )
set( OBJECT_NAME_MAX 240)
if ( WIN32 )
message(STATUS "Horten paths to prevent errors")
set( CMAKE_OBJECT_PATH_MAX 200 )
set( OBJECT_NAME_MAX 200)
endif()
# Set and enforce C++-11 flags
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment