Commits

Steve Streeting committed ec6d824

Use relative paths wherever possible to reduce command line lengths

Comments (0)

Files changed (1)

 set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
 cmake_policy(SET CMP0003 NEW)
 
+# Use relative paths
+# This is mostly to reduce path size for command-line limits on windows
+set(CMAKE_USE_RELATIVE_PATHS true)
+set(CMAKE_SUPPRESS_REGENERATION true)
+
 project(OGRE)
 
 # Include necessary submodules