[CMake] Fwd: Re: Question about CMAKE_MODULE_PATH
Kyle Edwards
kyle.edwards at kitware.com
Mon Feb 18 11:10:09 EST 2019
On Mon, 2019-02-18 at 17:04 +0100, Workbench at gmx.at wrote:
>
>
>
> -------- Forwarded Message --------
> Subject: Re: [CMake] Question about CMAKE_MODULE_PATH
> Date: Mon, 18 Feb 2019 16:58:26 +0100
> From: Workbench at gmx.at <workbench at gmx.at>
> To: Kyle Edwards <kyle.edwards at kitware.com>
>
> here is my code:
>
>
> set(MODULE_PATH "compile/tools/cmake/modules")
Try this instead:
set(MODULE_PATH "${CMAKE_SOURCE_DIR}/compile/tools/cmake/modules")
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190218/e5f0517d/attachment.html>
More information about the CMake
mailing list