diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d94efe20d79fcc12b48ed7c77a65c99560ccfb0..feb3cd2a6b8560984a36610f76f04819f029ee8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,14 +2,6 @@ # Required 3.1 to set C++11 cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) - -# Workaround to ensure that the path lengths don't get too long -if ( WIN32 ) - message(STATUS "Shorten paths to prevent errors") - set( CMAKE_OBJECT_PATH_MAX 240 ) - set( OBJECT_NAME_MAX 240) -endif() - # Set and enforce C++-11 flags set( CMAKE_CXX_STANDARD_REQUIRED TRUE ) set( CMAKE_CXX_STANDARD 11 )