From 00c8a691e921e5e838b96e92290bd9901e1bf3c4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 29 Jun 2014 03:59:54 +1000 Subject: Cycles: use SYSTEM for external includes --- intern/cycles/cmake/external_libs.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'intern/cycles/cmake/external_libs.cmake') 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) -- cgit v1.2.3