Set a minimum freetype version under msvc at least
This commit is contained in:
parent
1f8d101b1d
commit
3733ca4500
|
@ -724,7 +724,12 @@ include_directories( SYSTEM ${Boost_INCLUDE_DIR} )
|
|||
|
||||
#
|
||||
# Libraries required for outline font support.
|
||||
find_package( Freetype REQUIRED )
|
||||
if( MSVC )
|
||||
# Earlier than 2.11.1 contain a crash bug specific to MSVC built freetype
|
||||
set( FREETYPE_MIN_VERSION 2.11.1 )
|
||||
endif()
|
||||
|
||||
find_package( Freetype ${FREETYPE_MIN_VERSION} REQUIRED )
|
||||
include_directories( SYSTEM ${FREETYPE_INCLUDE_DIRS} )
|
||||
|
||||
find_package( HarfBuzz REQUIRED )
|
||||
|
|
Loading…
Reference in New Issue