mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-27 05:45:18 +01:00
* Combine client and server man pages.
* Update unit test options and available databases in man page.
* Add `--worldname` to man page.
* Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
* Disable server build by default on all operating systems.
* Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
* Enable LevelDB, Redis, and FreeType detection by default.
* Remove the `VERSION_PATCH_ORIG` hack.
* Add option to search for and use system JSONCPP.
* Remove broken LuaJIT version detection.
* Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
* Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
* Clean up style of CMake files.
31 lines
733 B
CMake
31 lines
733 B
CMake
# CGUITTFont authors, y u no include headers you use?
|
|
# Do not add CGUITTFont.cpp to the line below.
|
|
# xCGUITTFont.cpp is a wrapper file that includes
|
|
# additional required headers.
|
|
add_library(cguittfont xCGUITTFont.cpp)
|
|
|
|
if(FREETYPE_PKGCONFIG_FOUND)
|
|
set_target_properties(cguittfont
|
|
PROPERTIES
|
|
COMPILE_FLAGS "${FREETYPE_CFLAGS_STR}"
|
|
LINK_FLAGS "${FREETYPE_LDFLAGS_STR}"
|
|
)
|
|
|
|
include_directories(
|
|
${IRRLICHT_INCLUDE_DIR}
|
|
)
|
|
else(FREETYPE_PKGCONFIG_FOUND)
|
|
include_directories(
|
|
${IRRLICHT_INCLUDE_DIR}
|
|
${FREETYPE_INCLUDE_DIRS}
|
|
)
|
|
endif(FREETYPE_PKGCONFIG_FOUND)
|
|
|
|
target_link_libraries(
|
|
cguittfont
|
|
${IRRLICHT_LIBRARY}
|
|
${FREETYPE_LIBRARY}
|
|
${ZLIB_LIBRARIES} # needed by freetype, repeated here for safety
|
|
)
|
|
|