diff --git a/cocos/2d/CMakeLists.txt b/cocos/2d/CMakeLists.txt index 16ed1aaaeb..5c1f188864 100644 --- a/cocos/2d/CMakeLists.txt +++ b/cocos/2d/CMakeLists.txt @@ -68,7 +68,7 @@ set(COCOS_2D_SRC 2d/CCSpriteFrame.cpp 2d/MarchingSquare.cpp 2d/SpritePolygon.cpp - 2d/PolySpriteCache.cpp + 2d/SpritePolygonCache.cpp 2d/CCTextFieldTTF.cpp 2d/CCTileMapAtlas.cpp 2d/CCTMXLayer.cpp diff --git a/tests/cpp-tests/CMakeLists.txt b/tests/cpp-tests/CMakeLists.txt index ad60dccee2..06d2606712 100644 --- a/tests/cpp-tests/CMakeLists.txt +++ b/tests/cpp-tests/CMakeLists.txt @@ -176,6 +176,7 @@ set(TESTS_SRC Classes/ShaderTest/ShaderTest.cpp Classes/ShaderTest/ShaderTest2.cpp Classes/SpriteTest/SpriteTest.cpp + Classes/SpritePolygonTest/SpritePolygonTest.cpp Classes/Sprite3DTest/Sprite3DTest.cpp Classes/Sprite3DTest/DrawNode3D.cpp Classes/TerrainTest/TerrainTest.cpp