Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-28 21:59:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-28 22:00:31 +0400
commit00c8a691e921e5e838b96e92290bd9901e1bf3c4 (patch)
tree309fe5afae3fae68bcdcfa80a3bbfeff7bb9a28e /intern
parent78cdc707ab4d10017c70e5c860146f40ec8457a4 (diff)
Cycles: use SYSTEM for external includes
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/CMakeLists.txt5
-rw-r--r--intern/cycles/cmake/external_libs.cmake5
2 files changed, 8 insertions, 2 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index efd5ec61525..ccf6aac945e 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -116,7 +116,10 @@ endif()
if(WITH_CYCLES_OSL)
add_definitions(-DWITH_OSL)
add_definitions(-DOSL_STATIC_LIBRARY)
- include_directories(${OSL_INCLUDES})
+ include_directories(
+ SYSTEM
+ ${OSL_INCLUDES}
+ )
endif()
add_definitions(
diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake
index 8753ff4bf84..bb174d6df26 100644
--- a/intern/cycles/cmake/external_libs.cmake
+++ b/intern/cycles/cmake/external_libs.cmake
@@ -8,7 +8,10 @@ if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
find_package(GLUT)
message(STATUS "GLUT_FOUND=${GLUT_FOUND}")
- include_directories(${GLUT_INCLUDE_DIR})
+ include_directories(
+ SYSTEM
+ ${GLUT_INCLUDE_DIR}
+ )
endif()
if(WITH_SYSTEM_GLEW)