Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
cura-lulzbot
fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build.patch of Package cura-lulzbot
diff --git a/CMakeLists.txt b/CMakeLists.txt index e7267015..93d9345e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,13 +46,8 @@ if (NOT BUILD_PYTHON) endif() if(NOT PYTHON_SITE_PACKAGES_DIR) - if(APPLE OR WIN32) - set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages - CACHE STRING "Directory to install Python bindings to") - else() - set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages - CACHE STRING "Directory to install Python bindings to") - endif() + set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages + CACHE STRING "Directory to install Python bindings to") set(CURA_INSTALL_PLUGINS_PATH lib/cura) else() set(CURA_INSTALL_PLUGINS_PATH ${CMAKE_INSTALL_LIBDIR}/cura) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index c4692b0fa..aff922c87 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -227,7 +227,7 @@ class CuraApplication(QtApplication): except: try: self._components_version = json.load(open( - os.path.join(QtApplication.getInstallPrefix(), "cura-lulzbot","version.json"), "r")) + os.path.join(QtApplication.getInstallPrefix(), "share/cura","version.json"), "r")) except: self._components_version = {"cura_version": "master"}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor