diff options
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | mof/CMakeLists.txt | 6 |
2 files changed, 9 insertions, 0 deletions
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}) |