1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 09:25:37 +02:00

Move the platform-dependent stuff in renderingengine.cpp to irrlicht (#13348)

This commit is contained in:
DS
2023-06-11 14:17:39 +02:00
committed by GitHub
parent 553dc02deb
commit c91182e1b3
4 changed files with 20 additions and 321 deletions

View File

@@ -285,10 +285,6 @@ if(WIN32)
endif()
else()
# Unix probably
if(BUILD_CLIENT AND NOT (HAIKU OR APPLE OR ANDROID))
find_package(X11 REQUIRED)
endif()
set(PLATFORM_LIBS ${PLATFORM_LIBS} ${CMAKE_DL_LIBS})
if(APPLE)
set(PLATFORM_LIBS "-framework CoreFoundation" ${PLATFORM_LIBS})
@@ -518,7 +514,6 @@ if(BUILD_CLIENT)
include_directories(SYSTEM
${FREETYPE_INCLUDE_DIRS}
${SOUND_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
)
endif()
@@ -545,7 +540,6 @@ if(BUILD_CLIENT)
${ZLIB_LIBRARIES}
IrrlichtMt::IrrlichtMt
${ZSTD_LIBRARY}
${X11_LIBRARIES}
${SOUND_LIBRARIES}
${SQLITE3_LIBRARY}
${LUA_LIBRARY}