FindFreetype: Detect Freetype installed by GtkMM installer for win
This commit is contained in:
parent
9f160c5b0a
commit
a34839d2c9
|
@ -50,6 +50,9 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
|
||||||
/usr/local/X11R6
|
/usr/local/X11R6
|
||||||
/usr/local/X11
|
/usr/local/X11
|
||||||
/usr/freeware
|
/usr/freeware
|
||||||
|
ENV GTKMM_BASEPATH
|
||||||
|
[HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]
|
||||||
PATH_SUFFIXES include/freetype2 include
|
PATH_SUFFIXES include/freetype2 include
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -61,6 +64,9 @@ find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
|
||||||
/usr/local/X11R6
|
/usr/local/X11R6
|
||||||
/usr/local/X11
|
/usr/local/X11
|
||||||
/usr/freeware
|
/usr/freeware
|
||||||
|
ENV GTKMM_BASEPATH
|
||||||
|
[HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]
|
||||||
PATH_SUFFIXES include/freetype2 include
|
PATH_SUFFIXES include/freetype2 include
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -70,10 +76,13 @@ find_library(FREETYPE_LIBRARY
|
||||||
ENV FREETYPE_DIR
|
ENV FREETYPE_DIR
|
||||||
PATH_SUFFIXES lib
|
PATH_SUFFIXES lib
|
||||||
PATHS
|
PATHS
|
||||||
/usr/X11R6
|
/usr/X11R6
|
||||||
/usr/local/X11R6
|
/usr/local/X11R6
|
||||||
/usr/local/X11
|
/usr/local/X11
|
||||||
/usr/freeware
|
/usr/freeware
|
||||||
|
ENV GTKMM_BASEPATH
|
||||||
|
[HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]
|
||||||
)
|
)
|
||||||
|
|
||||||
# set the user variables
|
# set the user variables
|
||||||
|
|
Loading…
Reference in New Issue