[CMake] <Package>Config.cmake <=> FIND_PACKAGE

Alexander Neundorf a.neundorf-work at gmx.net
Tue Sep 30 18:41:31 EDT 2008


On Wednesday 17 September 2008, Micha Renner wrote:
> Hallo,
>
> I have two CMAKE-Module files (FindMAX.cmake & intlConfig.cmake) Both
> are located in a separate directory (please, see the script below)

So it's /usr/local/share/CMake/intlConfig.cmake ?
Please check the man page carefully for where find_package() searches for 
files, I think the dir you use is not supported under UNIX.
Try /usr/local/share/intl/intlConfig.cmake instead.

> FIND_PACKAGE can find MAX with no problems, but it comes in trouble
> looking for intl.

Which version of cmake ?

Alex


More information about the CMake mailing list