For scons: Add "-DWITH_DDS" to compile flags when dds is enabled.
authorKen Hughes <khughes@pacific.edu>
Mon, 25 Jun 2007 21:25:28 +0000 (21:25 +0000)
committerKen Hughes <khughes@pacific.edu>
Mon, 25 Jun 2007 21:25:28 +0000 (21:25 +0000)
source/blender/imbuf/intern/dds/SConscript

index 0618e32b3c61d0b27e6c0b385f5b6f478dcc27b6..d005bae02be2622eb2d1c596b6e03bfadfbdfbb6 100644 (file)
@@ -5,6 +5,7 @@ source_files = ['dds_api.cpp', 'DirectDrawSurface.cpp', 'Stream.cpp', 'BlockDXT.
 
 incs = ['.',
        '../../',
+       '../..',
        '..',
        '../../../makesdna',
        '../../../blenkernel',
@@ -13,6 +14,6 @@ incs = ['.',
        '#/intern/guardedalloc']
 
 
-defs = []
-                 
+defs = ['WITH_DDS']
+
 env.BlenderLib ('bf_dds', source_files, incs, defs, libtype=['core','player'], priority = [90, 200])