Ghost Context Refactor
[blender-staging.git] / source / blender / editors / space_file / CMakeLists.txt
index 6d959d0b7394fecd80139007805dc5442c7a2a47..fc007a659b4dde3b780faa30ce4d73bd016427d6 100644 (file)
@@ -25,11 +25,13 @@ set(INC
        ../../blenlib
        ../../blenloader
        ../../imbuf
+       ../../gpu
        ../../makesdna
        ../../makesrna
        ../../render/extern/include
        ../../windowmanager
        ../../../../intern/guardedalloc
+       ../../../../intern/glew-mx
 )
 
 set(INC_SYS
@@ -58,6 +60,10 @@ if(WITH_IMAGE_OPENEXR)
        add_definitions(-DWITH_OPENEXR)
 endif()
 
+if(WITH_OPENIMAGEIO)
+       add_definitions(-DWITH_OPENIMAGEIO)
+endif()
+
 if(WITH_IMAGE_TIFF)
        add_definitions(-DWITH_TIFF)
 endif()
@@ -78,4 +84,14 @@ if(WITH_IMAGE_HDR)
        add_definitions(-DWITH_HDR)
 endif()
 
+if(WITH_INTERNATIONAL)
+       add_definitions(-DWITH_INTERNATIONAL)
+endif()
+
+add_definitions(${GL_DEFINITIONS})
+
+if(WITH_FREESTYLE)
+       add_definitions(-DWITH_FREESTYLE)
+endif()
+
 blender_add_lib(bf_editor_space_file "${SRC}" "${INC}" "${INC_SYS}")