Merged changes in the trunk up to revision 26719.
[blender-staging.git] / source / blender / blenkernel / CMakeLists.txt
index 69d43317013c77060dd6d27319ffad00a05cdc97..ea30d4404bea08f93c1382775093785044582675 100644 (file)
@@ -73,6 +73,10 @@ ELSE(WITH_PYTHON)
        ADD_DEFINITIONS(-DDISABLE_PYTHON)
 ENDIF(WITH_PYTHON)
 
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
 IF(NOT WITH_ELBEEM)
        ADD_DEFINITIONS(-DDISABLE_ELBEEM)
 ENDIF(NOT WITH_ELBEEM)