aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-09-29 12:40:59 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-09-29 13:40:59 +0200
commit07bdd6049b6d190de69419cc9be2ac49d3a08e0f (patch)
tree4ecd337e64a6ae3824c8d6eac92b5ea82f6d7789 /src/map.cpp
parent16865a5bf65daae6131f1ad3d0df98be8b01f0f0 (diff)
downloadminetest-07bdd6049b6d190de69419cc9be2ac49d3a08e0f.tar.gz
minetest-07bdd6049b6d190de69419cc9be2ac49d3a08e0f.tar.bz2
minetest-07bdd6049b6d190de69419cc9be2ac49d3a08e0f.zip
Fix error message caused by adding new parameter to background (#8922)
Adds background9[] element to keep backwards compatibility in formspec prepends.
Diffstat (limited to 'src/map.cpp')
0 files changed, 0 insertions, 0 deletions
="hl opt">( UNIX ) # Windows endif( UNIX ) # Find include directory if(NOT IRRLICHT_SOURCE_DIR STREQUAL "") set(IRRLICHT_SOURCE_DIR_INCLUDE "${IRRLICHT_SOURCE_DIR}/include" ) set(IRRLICHT_LIBRARY_NAMES libIrrlicht.a Irrlicht Irrlicht.lib) if(WIN32) if(MSVC) set(IRRLICHT_SOURCE_DIR_LIBS "${IRRLICHT_SOURCE_DIR}/lib/Win32-visualstudio") set(IRRLICHT_LIBRARY_NAMES Irrlicht.lib) else() set(IRRLICHT_SOURCE_DIR_LIBS "${IRRLICHT_SOURCE_DIR}/lib/Win32-gcc") set(IRRLICHT_LIBRARY_NAMES libIrrlicht.a libIrrlicht.dll.a) endif() else() set(IRRLICHT_SOURCE_DIR_LIBS "${IRRLICHT_SOURCE_DIR}/lib/Linux") set(IRRLICHT_LIBRARY_NAMES libIrrlicht.a) endif() FIND_PATH(IRRLICHT_INCLUDE_DIR NAMES irrlicht.h PATHS ${IRRLICHT_SOURCE_DIR_INCLUDE} NO_DEFAULT_PATH ) FIND_LIBRARY(IRRLICHT_LIBRARY NAMES ${IRRLICHT_LIBRARY_NAMES} PATHS ${IRRLICHT_SOURCE_DIR_LIBS} NO_DEFAULT_PATH ) else() FIND_PATH(IRRLICHT_INCLUDE_DIR NAMES irrlicht.h PATHS /usr/local/include/irrlicht /usr/include/irrlicht ) FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.a Irrlicht PATHS /usr/local/lib /usr/lib ) endif() MESSAGE(STATUS "IRRLICHT_SOURCE_DIR = ${IRRLICHT_SOURCE_DIR}") MESSAGE(STATUS "IRRLICHT_INCLUDE_DIR = ${IRRLICHT_INCLUDE_DIR}") MESSAGE(STATUS "IRRLICHT_LIBRARY = ${IRRLICHT_LIBRARY}") # On windows, find the dll for installation if(WIN32) if(MSVC) FIND_FILE(IRRLICHT_DLL NAMES Irrlicht.dll PATHS "${IRRLICHT_SOURCE_DIR}/bin/Win32-VisualStudio" DOC "Path of the Irrlicht dll (for installation)" ) else() FIND_FILE(IRRLICHT_DLL NAMES Irrlicht.dll PATHS "${IRRLICHT_SOURCE_DIR}/bin/Win32-gcc" DOC "Path of the Irrlicht dll (for installation)" ) endif() MESSAGE(STATUS "IRRLICHT_DLL = ${IRRLICHT_DLL}") endif(WIN32) # handle the QUIETLY and REQUIRED arguments and set IRRLICHT_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(IRRLICHT DEFAULT_MSG IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR) IF(IRRLICHT_FOUND) SET(IRRLICHT_LIBRARIES ${IRRLICHT_LIBRARY}) ELSE(IRRLICHT_FOUND) SET(IRRLICHT_LIBRARIES) ENDIF(IRRLICHT_FOUND) MARK_AS_ADVANCED(IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR IRRLICHT_DLL)