17 lines
893 B
Diff
17 lines
893 B
Diff
diff --git CMakeLists.txt CMakeLists.txt
|
|
--- CMakeLists.txt
|
|
+++ CMakeLists.txt
|
|
@@ -46,10 +46,10 @@ if(NOT APPLE AND NOT WIN32)
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
|
RENAME cura)
|
|
install(DIRECTORY cura
|
|
- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages
|
|
+ DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages
|
|
FILES_MATCHING PATTERN *.py)
|
|
install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py
|
|
- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura)
|
|
+ DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura)
|
|
install(FILES ${CMAKE_BINARY_DIR}/cura.desktop
|
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
|
install(FILES cura.appdata.xml
|