diff --git a/Minecraft.Client/CMakeLists.txt b/Minecraft.Client/CMakeLists.txt index 0856ea680..9847a044a 100644 --- a/Minecraft.Client/CMakeLists.txt +++ b/Minecraft.Client/CMakeLists.txt @@ -3986,6 +3986,8 @@ if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Durango") ">" "xaudio2" ) +elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Linux") + set(ADDITIONAL_LIBRARY_DEPENDENCIES "Minecraft.World") elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "ORBIS") set(ADDITIONAL_LIBRARY_DEPENDENCIES "$<$:" diff --git a/Minecraft.World/Item.cpp b/Minecraft.World/Item.cpp index 5d723ec57..03eb71f53 100644 --- a/Minecraft.World/Item.cpp +++ b/Minecraft.World/Item.cpp @@ -950,7 +950,7 @@ void Item::registerIcons(IconRegister *iconRegister) 4J: These are necesary on the PS3. (and 4 and Vita). */ -#if (defined __PS3__ || defined __ORBIS__ || defined __PSVITA__) +#if (defined __PS3__ || defined __ORBIS__ || defined __PSVITA__ || defined __linux__) const int Item::shovel_iron_Id ; const int Item::pickAxe_iron_Id ; const int Item::hatchet_iron_Id ;