Skip to content

Commit

Permalink
* Fix CI build I hope
Browse files Browse the repository at this point in the history
  • Loading branch information
iProgramMC committed Apr 8, 2024
1 parent b2fdb92 commit b632d55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ add_library(reminecraftpe-core STATIC
world/item/DoorItem.cpp
world/item/ItemInstance.cpp
world/item/RocketItem.cpp
world/item/RedstoneItem.cpp
world/item/Item.cpp
world/particle/RedDustParticle.cpp
world/particle/TerrainParticle.cpp
Expand Down Expand Up @@ -274,6 +275,8 @@ add_library(reminecraftpe-core STATIC
world/tile/WireTile.cpp
world/tile/RedStoneTorchTile.cpp
world/tile/LeverTile.cpp
world/tile/ButtonTile.cpp
world/tile/PressurePlateTile.cpp
renderer/GL/GL.cpp
)
target_include_directories(reminecraftpe-core PUBLIC . ..)
Expand Down
5 changes: 5 additions & 0 deletions source/world/item/DoorItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
#include "world/entity/Player.hpp"
#include "world/tile/Tile.hpp"

#ifdef __APPLE__
// TODO FIXME - Include source files directly. Need to modify the Xcode project files to fix.
#include "RedstoneItem.cpp"
#endif

DoorItem::DoorItem(int id, Material* pMtl) : Item(id)
{
m_maxStackSize = 1;
Expand Down

0 comments on commit b632d55

Please sign in to comment.