diff options
Diffstat (limited to 'intern/cycles/device/CMakeLists.txt')
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt index 6038abd815e..1d7c6ef4be3 100644 --- a/intern/cycles/device/CMakeLists.txt +++ b/intern/cycles/device/CMakeLists.txt @@ -6,6 +6,8 @@ set(INC ../kernel/osl ../util ../render +) +set(INC_SYS ${OPENGL_INCLUDE_DIR} ${GLEW_INCLUDE_PATH} ) @@ -31,5 +33,6 @@ set(SRC_HEADERS add_definitions(-DGLEW_STATIC) include_directories(${INC}) +include_directories(SYSTEM ${INC_SYS}) add_library(cycles_device ${SRC} ${SRC_HEADERS}) |