[CMake] Bug in Suffixes windows 2.6

klaas.holwerda ngi at klaasholwerda.nl
Sat Sep 20 08:15:06 EDT 2008


Hi,

I think this is a bug, only the last version of FIND_PATH actually works.
This is in Cmake 2.6 patch 0.

Thanks,

Klaas

PROJECT( myproject )

FIND_PATH( DIRTOFIND ft2build.h
  c:/soft/freetype/GnuWin32
  PATH_SUFFIXES_PATH include
  NO_DEFAULT_PATH
)

MESSAGE( "results in" ${DIRTOFIND} )

FIND_PATH( DIRTOFIND ft2build.h
  c:/soft/freetype/GnuWin32
  NO_DEFAULT_PATH
  PATH_SUFFIXES_PATH include
)

MESSAGE( "results in" ${DIRTOFIND} )

FIND_PATH( DIRTOFIND ft2build.h
  c:/soft/freetype/GnuWin32/include
  NO_DEFAULT_PATH
)

MESSAGE( "results in" ${DIRTOFIND} )



More information about the CMake mailing list