[CMake] Question about CMAKE_MODULE_PATH
Kyle Edwards
kyle.edwards at kitware.com
Mon Feb 18 10:54:22 EST 2019
On Mon, 2019-02-18 at 16:50 +0100, Workbench at gmx.at wrote:
> Doesn't the content of CMAKE_MODULE_PATH should also include the path
> to
> the default modules ??
The default modules are automatically checked by CMake, independently
of the contents of CMAKE_MODULE_PATH. They should not normally be
present in CMAKE_MODULE_PATH.
> > i try to load custom modules. i use
> >
> >
> > list(append CMAKE_MODULE_PATH "/mypathtomdoules")
The "append" argument should be uppercase:
list(APPEND CMAKE_MODULE_PATH "/mypathtomodules")
Did you receive any warnings about an invalid argument to list()?
Kyle
More information about the CMake
mailing list