diff options
| -rw-r--r-- | modules/FindFreetype.cmake | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/modules/FindFreetype.cmake b/modules/FindFreetype.cmake index f061e71a..89b70a61 100644 --- a/modules/FindFreetype.cmake +++ b/modules/FindFreetype.cmake @@ -48,6 +48,14 @@ else (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR)      set( FREETYPE_LIBRARIES ${FREETYPE_LIBRARIES} CACHE INTERNAL "The libraries for freetype" ) +  else(FREETYPECONFIG_EXECUTABLE) +	find_path (FREETYPE_INCLUDE_DIR freetype/freetype.h +        ${CMAKE_INCLUDE_PATH}/freetype2 +	) +    find_library(FREETYPE_LIBRARIES freetype) +    if(FREETYPE_INCLUDE_DIR AND FREETYPE_LIBRARIES) +        set(FREETYPE_FOUND TRUE) +    endif(FREETYPE_INCLUDE_DIR AND FREETYPE_LIBRARIES)    endif(FREETYPECONFIG_EXECUTABLE) | 
