Interesting. I was expecting the PATH_SUFFIXES to work on Windows. I
thought I had tested this general technique, though maybe not with the
Freetype module and maybe not 2.6.0. I think this may be a CMake bug,
but I'm not an authority on the matter.
You might want to try a more generalized
Am Friday 19 September 2008 22:57:03 schrieb E. Wing:
Interesting. I was expecting the PATH_SUFFIXES to work on Windows. I
thought I had tested this general technique, though maybe not with the
Freetype module and maybe not 2.6.0. I think this may be a CMake bug,
but I'm not an authority on
Hi,
I want to use FIND_PACKAGE( FREETYPE ) on windows. But it looks like it
does not work.
If i change in FindFreetype.cmake:
FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
$ENV{FREETYPE_DIR}
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
to this:
FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build