Compact -I paths in makefiles for more readble files/output.
[blender.git] / source / creator / CMakeLists.txt
index 9b9ab8d537db57ce81b284c4ceb316bdf3514cf0..78aa98cb7f54402ff93caf2c93c2d8f6f588a2ff 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: cmake; indent-tabs-mode: t; -*-
 # $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
@@ -29,7 +30,7 @@ cmake_policy(SET CMP0005 NEW)
 
 setup_libdirs()
 
-include_directories(
+blender_include_dirs(
        ../../intern/guardedalloc
        ../blender/blenlib
        ../blender/blenkernel
@@ -67,12 +68,12 @@ if(WITH_IMAGE_HDR)
 endif()
 
 if(WITH_PYTHON)
-       include_directories(../blender/python)
+       blender_include_dirs(../blender/python)
        add_definitions(-DWITH_PYTHON)
 endif()
 
 if(WITH_GAMEENGINE)
-       include_directories(
+       blender_include_dirs(
                ../kernel/gen_messaging
                ../kernel/gen_system
        )
@@ -86,7 +87,7 @@ endif()
 
 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
        add_definitions(-DWITH_BINRELOC)
-       include_directories(${BINRELOC_INC})
+       blender_include_dirs(${BINRELOC_INC})
 endif()
 
 # Setup the exe sources and buildinfo