From e1a83793ae986db44bc810c36a8ea8090d81fe3f Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Thu, 31 Jan 2019 23:25:21 +0100 Subject: CMake: Added support for CMAKE_MODULE_PATH and extra CMake args (closes #4779) --- docs/markdown/snippets/cmake_module_path.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/markdown/snippets/cmake_module_path.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/cmake_module_path.md b/docs/markdown/snippets/cmake_module_path.md new file mode 100644 index 0000000..7beb453 --- /dev/null +++ b/docs/markdown/snippets/cmake_module_path.md @@ -0,0 +1,9 @@ +## Added `cmake_module_path` and `cmake_args` to dependency + +The CMake dependency backend can now make use of existing `Find.cmake` +files by setting the `CMAKE_MODULE_PATH` with the new `dependency()` property +`cmake_module_path`. The paths given to `cmake_module_path` should be relative +to the project source directory. + +Furthermore the property `cmake_args` was added to give CMake additional +parameters. -- cgit v1.1