Ghost Context Refactor
[blender-staging.git] / source / blender / editors / space_file / CMakeLists.txt
index 4aa6cdbcf2fb373d9e3e0915d7523dab03c3ee82..fc007a659b4dde3b780faa30ce4d73bd016427d6 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
@@ -26,11 +25,13 @@ set(INC
        ../../blenlib
        ../../blenloader
        ../../imbuf
+       ../../gpu
        ../../makesdna
        ../../makesrna
        ../../render/extern/include
        ../../windowmanager
        ../../../../intern/guardedalloc
+       ../../../../intern/glew-mx
 )
 
 set(INC_SYS
@@ -59,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()
@@ -79,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}")