diff options
author | Nao Pross <naopross@thearcway.org> | 2019-02-10 22:41:15 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-02-10 23:40:45 +0100 |
commit | c74446c3e6a88ffbb13743dcc9f3b93d10aa009d (patch) | |
tree | 99676f3822af99f272110b3c3afaaf1ecfc0c9dc /cmake | |
parent | Merge remote-tracking branch 'github/master' (diff) | |
download | libmm-c74446c3e6a88ffbb13743dcc9f3b93d10aa009d.tar.gz libmm-c74446c3e6a88ffbb13743dcc9f3b93d10aa009d.zip |
Add CMake configuration, delete ninja files
The new CMake configuration builds only static libraries
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/MMConfig.cmake.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/MMConfig.cmake.in b/cmake/MMConfig.cmake.in new file mode 100644 index 0000000..c338eae --- /dev/null +++ b/cmake/MMConfig.cmake.in @@ -0,0 +1,9 @@ +get_filename_component(MM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) + +list(REMOVE_AT CMAKE_MODULE_PATH -1) + +if (NOT TARGET MM::MM) + include("${MM_CMAKE_DIR}/MMTargets.cmake") +endif() + +set(MM_LIBRARIES MM::MM) |