diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-02-11 12:50:07 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-02-11 12:50:07 +0100 |
commit | 34942b0c593289a324053e7630851ac2edf89041 (patch) | |
tree | 1344c5f30360e5b78f262a49f7add512f8de5541 | |
parent | CMakeLists: include fixes, include tree structure modified (diff) | |
parent | Fix MMConfig.cmake.in (diff) | |
download | libmm-34942b0c593289a324053e7630851ac2edf89041.tar.gz libmm-34942b0c593289a324053e7630851ac2edf89041.zip |
Small conflict solved
-rw-r--r-- | cmake/MMConfig.cmake.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/MMConfig.cmake.in b/cmake/MMConfig.cmake.in index b2857ae..de91981 100644 --- a/cmake/MMConfig.cmake.in +++ b/cmake/MMConfig.cmake.in @@ -1,6 +1,10 @@ get_filename_component(MM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) +include(CMakeFindDependencyMacro) -#list(REMOVE_AT CMAKE_MODULE_PATH -1) +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) include("${MM_CMAKE_DIR}/MMTargets.cmake") |