From 4d2e61789348c6af3c91e531f292a1341dde85ca Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Tue, 24 Jul 2012 10:06:12 +0200 Subject: Install the MOFs to data directory --- CMakeLists.txt | 3 +++ mof/CMakeLists.txt | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 mof/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 76816f2..552894c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,3 +25,6 @@ find_package(PkgConfig) pkg_check_modules(GLIB REQUIRED glib-2.0) add_subdirectory(src) +add_subdirectory(mof) + +install(FILES provider-register.sh DESTINATION share/cura-providers/) diff --git a/mof/CMakeLists.txt b/mof/CMakeLists.txt new file mode 100644 index 0000000..f51976a --- /dev/null +++ b/mof/CMakeLists.txt @@ -0,0 +1,6 @@ + +file(GLOB MOFS *.mof) + +foreach(MOF ${MOFS}) + install(FILES ${MOF} DESTINATION share/cura-providers/) +endforeach(MOF ${MOFS}) -- cgit