diff options
author | Nao Pross <naopross@thearcway.org> | 2019-02-11 00:11:16 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-02-11 00:11:16 +0100 |
commit | 2aa0371a6848b3aae4d4183eb7b4ae12558f820a (patch) | |
tree | 8083930296e9687a55ff62acb60eb66e4a38d588 | |
parent | Add CMake configuration, delete ninja files (diff) | |
download | libmm-2aa0371a6848b3aae4d4183eb7b4ae12558f820a.tar.gz libmm-2aa0371a6848b3aae4d4183eb7b4ae12558f820a.zip |
Fix MMConfig.cmake.in
-rw-r--r-- | cmake/MMConfig.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/MMConfig.cmake.in b/cmake/MMConfig.cmake.in index c338eae..de91981 100644 --- a/cmake/MMConfig.cmake.in +++ b/cmake/MMConfig.cmake.in @@ -1,5 +1,9 @@ get_filename_component(MM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) +include(CMakeFindDependencyMacro) +list(APPEND CMAKE_MODULE_PATH ${MM_CMAKE_DIR}) +# add dependencies if needed +# add_dependency() list(REMOVE_AT CMAKE_MODULE_PATH -1) if (NOT TARGET MM::MM) |