Fixed support for building without collada (scons and cmake). Only tested scons.
[blender.git] / source / blender / windowmanager / CMakeLists.txt
index 7deac8a4aa0fb89b65ae683d04699238e2bc1cb4..ec489e5261a21c99eeada8fe586d8dd08cac7497 100644 (file)
@@ -50,6 +50,10 @@ IF(WITH_OPENEXR)
        ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_OPENEXR)
 
+IF(WITH_OPENCOLLADA)
+       ADD_DEFINITIONS(-DWITH_COLLADA)
+ENDIF(WITH_OPENCOLLADA)
+
 IF(WITH_QUICKTIME)
        SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
        ADD_DEFINITIONS(-DWITH_QUICKTIME)