blob: df83f55037ce3ea9a58306d3f305f04b4a801b3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- OrcaSlicer/CMakeLists.txt.orig 2023-08-28 20:21:31.144474614 -0400
+++ OrcaSlicer/CMakeLists.txt 2023-08-28 20:23:43.538049850 -0400
@@ -718,8 +718,10 @@
install (PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION ".")
elseif (SLIC3R_FHS)
# CMAKE_INSTALL_FULL_DATAROOTDIR: read-only architecture-independent data root (share)
- set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/OrcaSlicer")
- install(DIRECTORY ${SLIC3R_RESOURCES_DIR}/ DESTINATION ${SLIC3R_FHS_RESOURCES}
+ # set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/OrcaSlicer")
+ set(SLIC3R_FHS_RESOURCES "/usr/share/OrcaSlicer")
+ # install(DIRECTORY ${SLIC3R_RESOURCES_DIR}/ DESTINATION ${SLIC3R_FHS_RESOURCES}
+ install(DIRECTORY ${SLIC3R_RESOURCES_DIR}/ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/OrcaSlicer"
PATTERN "*/udev" EXCLUDE
)
install(FILES src/platform/unix/OrcaSlicer.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
|