Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjen Hiemstra <a.hiemstra@ultimaker.com>2015-05-26 18:12:57 +0300
committerArjen Hiemstra <a.hiemstra@ultimaker.com>2015-05-26 18:12:57 +0300
commit27e734edb7e9b36c8837697abd554e3f40a326e6 (patch)
tree22f684b68f1c5ff40e14f96ae4bf631ad9645c02 /CMakeLists.txt
parent5762b2dfe8d2ced34fd83c10bf5a75d9e2f4b2b4 (diff)
Install the entire plugins directory into $prefix/lib/cura instead of just the contents
This makes it easier to add the directory to the plugin search paths. Contributes to Ultimaker/Uranium#41
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8fee919062..4cbb9aebc0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,8 +54,7 @@ find_package(PythonInterp 3.4.0 REQUIRED)
set(PYTHON_SITE_PACKAGES_DIR ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages CACHE PATH "Install location of Python package")
install(DIRECTORY resources DESTINATION ${CMAKE_INSTALL_DATADIR}/cura)
-file(GLOB cura_plugins_SRCS plugins/*)
-install(DIRECTORY ${cura_plugins_SRCS} DESTINATION ${CMAKE_INSTALL_LIBDIR}/cura)
+install(DIRECTORY plugins DESTINATION ${CMAKE_INSTALL_LIBDIR}/cura)
file(GLOB cura_SRCS cura/*)
install(FILES ${cura_SRCS} DESTINATION ${PYTHON_SITE_PACKAGES_DIR}/cura)
install(FILES cura_app.py DESTINATION ${CMAKE_INSTALL_BINDIR})