diff options
author | sfan5 <sfan5@live.de> | 2020-12-23 22:03:49 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-12-24 13:44:54 +0100 |
commit | 74762470b2aa11a5271b846549ff14b86c1705d2 (patch) | |
tree | cf4fd29ba05a94395674ac6cd5b2eeb7bdac0ee1 /src/CMakeLists.txt | |
parent | 289425f6bd6cfe1f66218918d9d5bd1b9f89aa7c (diff) | |
download | hax-minetest-server-74762470b2aa11a5271b846549ff14b86c1705d2.tar.gz hax-minetest-server-74762470b2aa11a5271b846549ff14b86c1705d2.zip |
Fix some minor code issues all over the place
Diffstat (limited to '')
-rw-r--r-- | src/CMakeLists.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b8ce69f1d..b6bba6e8d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.6) - project(minetest) INCLUDE(CheckIncludeFiles) @@ -124,27 +122,6 @@ option(ENABLE_FREETYPE "Enable FreeType2 (TrueType fonts and basic unicode suppo set(USE_FREETYPE FALSE) if(ENABLE_FREETYPE) -## -## Note: FindFreetype.cmake seems to have been fixed in recent versions of -## CMake. If issues persist, re-enable this workaround specificially for the -## failing platforms. -## -# if(UNIX) -# include(FindPkgConfig) -# if(PKG_CONFIG_FOUND) -# pkg_check_modules(FREETYPE QUIET freetype2) -# if(FREETYPE_FOUND) -# SET(FREETYPE_PKGCONFIG_FOUND TRUE) -# SET(FREETYPE_LIBRARY ${FREETYPE_LIBRARIES}) -# # Because CMake is idiotic -# string(REPLACE ";" " " FREETYPE_CFLAGS_STR ${FREETYPE_CFLAGS}) -# string(REPLACE ";" " " FREETYPE_LDFLAGS_STR ${FREETYPE_LDFLAGS}) -# endif(FREETYPE_FOUND) -# endif(PKG_CONFIG_FOUND) -# endif(UNIX) -# if(NOT FREETYPE_FOUND) -# find_package(Freetype) -# endif() find_package(Freetype) if(FREETYPE_FOUND) message(STATUS "Freetype enabled.") |