diff --git a/extensions/cocos-ext.h b/extensions/cocos-ext.h index 51f64726c0..b0c4818bb6 100644 --- a/extensions/cocos-ext.h +++ b/extensions/cocos-ext.h @@ -47,7 +47,9 @@ #include "physics_nodes/CCPhysicsSprite.h" #endif +#if CC_ENABLE_SPINE_INTEGRATION #include "spine/spine-cocos2dx.h" +#endif #include "Components/CCComAttribute.h" #include "Components/CCComAudio.h"