diff --git a/extensions/cocos-ext.h b/extensions/cocos-ext.h index 8d6171d9c9..dabd1a92c8 100644 --- a/extensions/cocos-ext.h +++ b/extensions/cocos-ext.h @@ -63,7 +63,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"