Author: craig
Date: Sun Dec 8 12:40:48 2019
New Revision: 23402
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23402
Log:
Remove old FreeType2 checking code for really ancient (2002) versions missing
functions
Modified:
trunk/Scribus/CMakeLists_Dependencies.cmake
Modified: trunk/Scribus/CMakeLists_Dependencies.cmake
URL:
http://scribus.net/websvn/diff.php?repname=Scribus&rev=23402&path=/trunk/Scribus/CMakeLists_Dependencies.cmake
==============================================================================
--- trunk/Scribus/CMakeLists_Dependencies.cmake (original)
+++ trunk/Scribus/CMakeLists_Dependencies.cmake Sun Dec 8 12:40:48 2019
@@ -166,13 +166,6 @@
find_package(Freetype REQUIRED)
if (FREETYPE_FOUND)
message(STATUS "FreeType2 Library Found OK")
- include(CheckLibraryExists)
- CHECK_LIBRARY_EXISTS(${FREETYPE_LIBRARY} FT_Get_First_Char ""
HAVE_FREETYPE_FIRST)
- CHECK_LIBRARY_EXISTS(${FREETYPE_LIBRARY} FT_Get_Next_Char ""
HAVE_FREETYPE_NEXT)
- # here we have an alternative
- # a) Setup CFLAGS with the FREETYPE_INCLUDE_DIR_freetype2 provided by
cmake
- # b) Insert ${FREETYPE_INCLUDE_DIRS} in include sections of CMakeLists
that need it
- # I prefer (b) and at some point & from my opinion it should be just
needed in scribus/fonts/CmakeLists.txt - pm
else()
message(FATAL_ERROR "No Freetype Found")
endif()
_______________________________________________
scribus-commit mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-commit