[CMake] Default Path for INCLUDE()?

Hendrik Sattler post at hendrik-sattler.de
Fri Apr 20 14:20:19 EDT 2007


Am Freitag 20 April 2007 19:23 schrieb dfeustel at mindspring.com:
> I started experimenting with the INCLUDE()
> statement but have only been able to get
> it to find modules by supplying the full
> module path. Is there a way to specify a
> default path for INCLUDE so that only
> the module name is needed?
>
> These do not work for me on 64-bit OpenBSD 4.0:
>
> INCLUDE(FindJPEG)

Use
  FIND_PACKAGE(JPEG)
instead.

HS


More information about the CMake mailing list