From aa3f63fd497558a02feb3ddbc44f31eac091f39b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Oct 2017 22:14:45 +0300 Subject: Remove most unused files. --- CMake/Modules/FindLibIntl.cmake | 46 ----------------------------------------- CMake/Modules/FindSDL_gfx.cmake | 39 ---------------------------------- 2 files changed, 85 deletions(-) delete mode 100644 CMake/Modules/FindLibIntl.cmake delete mode 100644 CMake/Modules/FindSDL_gfx.cmake (limited to 'CMake/Modules') diff --git a/CMake/Modules/FindLibIntl.cmake b/CMake/Modules/FindLibIntl.cmake deleted file mode 100644 index e75960525..000000000 --- a/CMake/Modules/FindLibIntl.cmake +++ /dev/null @@ -1,46 +0,0 @@ -# Try to find the libintl library. Explicit searching is currently -# only required for Win32, though it might be useful for some UNIX -# variants, too. Therefore code for searching common UNIX include -# directories is included, too. -# -# Once done this will define -# -# LIBINTL_FOUND - system has libintl -# LIBINTL_LIBRARIES - the library needed for linking - -IF (LibIntl_LIBRARY) - SET(LibIntl_FIND_QUIETLY TRUE) -ENDIF () - -# for Windows we rely on the environement variables -# %INCLUDE% and %LIB%; FIND_LIBRARY checks %LIB% -# automatically on Windows -IF(WIN32) - FIND_LIBRARY(LibIntl_LIBRARY - NAMES intl - ) -ELSE() - FIND_LIBRARY(LibIntl_LIBRARY - NAMES intl - PATHS /usr/lib /usr/local/lib - ) -ENDIF() - -IF (LibIntl_LIBRARY) - SET(LIBINTL_FOUND TRUE) - SET(LIBINTL_LIBRARIES ${LibIntl_LIBRARY}) -ELSE () - SET(LIBINTL_FOUND FALSE) -ENDIF () - -IF (LIBINTL_FOUND) - IF (NOT LibIntl_FIND_QUIETLY) - MESSAGE(STATUS "Found libintl: ${LibIntl_LIBRARY}") - ENDIF () -ELSE () - IF (LibIntl_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could NOT find libintl") - ENDIF () -ENDIF () - -MARK_AS_ADVANCED(LibIntl_LIBRARY) diff --git a/CMake/Modules/FindSDL_gfx.cmake b/CMake/Modules/FindSDL_gfx.cmake deleted file mode 100644 index 74c1c6c74..000000000 --- a/CMake/Modules/FindSDL_gfx.cmake +++ /dev/null @@ -1,39 +0,0 @@ -# - Try to find SDL_gfx -# Once done this will define -# -# SDLGFX_FOUND - system has SDL_gfx -# SDLGFX_INCLUDE_DIR - the SDL_gfx include directory - -# Be quiet if SDL_gfx was already found -IF (SDL_gfx_INCLUDE_DIR AND SDL_gfx_LIBRARY) - SET(SDL_gfx_QUIET TRUE) -ENDIF (SDL_gfx_INCLUDE_DIR AND SDL_gfx_LIBRARY) - - -FIND_PATH(SDL_gfx_INCLUDE_DIR - NAMES SDL_rotozoom.h - PATH_SUFFIXES SDL - ) - -FIND_LIBRARY(SDL_gfx_LIBRARY - NAMES SDL_gfx - PATHS /usr/lib /usr/local/lib - ) - -MARK_AS_ADVANCED(SDL_gfx_INCLUDE_DIR SDL_gfx_LIBRARY) - - -IF (SDL_gfx_INCLUDE_DIR AND SDL_gfx_LIBRARY) - SET(SDLGFX_FOUND TRUE) - SET(SDLGFX_INCLUDE_DIR ${SDL_gfx_INCLUDE_DIR}) - SET(SDLGFX_LIBRARIES ${SDL_gfx_LIBRARY}) - - IF (NOT SDL_gfx_FIND_QUIETLY AND NOT SDL_gfx_QUIET) - MESSAGE(STATUS "Found SDL_gfx: ${SDL_gfx_LIBRARY}") - ENDIF (NOT SDL_gfx_FIND_QUIETLY AND NOT SDL_gfx_QUIET) -ENDIF (SDL_gfx_INCLUDE_DIR AND SDL_gfx_LIBRARY) - -# Bail out if SDL_gfx is not found but required -IF (NOT SDLGFX_FOUND AND SDL_gfx_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could NOT find SDL_gfx library ${SDLGFX_INCLUDE_DIR}") -ENDIF (NOT SDLGFX_FOUND AND SDL_gfx_FIND_REQUIRED) -- cgit v1.2.3-70-g09d2