mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 06:41:14 -06:00
Add Linux related build scripts
including following changes: - Linux build scripts from SuperSlicer project; - Update BuildLinux dev dependencies, remove unused bits; - Update BuildLinuxImage to use nproc for cpus; - CMake: render BuildLinuxImage and build_appimage templates; - Fix "DSO missing" linking problems; - Add Podman Containerfile for building; - Update BuildLinux.sh to work better in container build; - fixes to create AppImage inside container; - add env to build environment; - Update build instructions in Containerfile; Change-Id: I73e30ab488cda8c1b0886cd34858e125596f282b (cherry picked from commit 83fc26670ca592c91c7af1d4033a04b587cfd4cd)
This commit is contained in:
parent
014152f078
commit
f5a4862da5
7 changed files with 376 additions and 0 deletions
|
@ -416,7 +416,18 @@ target_link_libraries(libslic3r_gui libslic3r cereal imgui minilzo GLEW::GLEW Op
|
|||
if (MSVC)
|
||||
target_link_libraries(libslic3r_gui Setupapi.lib)
|
||||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
FIND_LIBRARY(WAYLAND_SERVER_LIBRARIES NAMES wayland-server)
|
||||
FIND_LIBRARY(WAYLAND_EGL_LIBRARIES NAMES wayland-egl)
|
||||
FIND_LIBRARY(WAYLAND_CLIENT_LIBRARIES NAMES wayland-client)
|
||||
find_package(CURL REQUIRED)
|
||||
target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES} OSMesa)
|
||||
target_link_libraries(libslic3r_gui
|
||||
OpenGL::EGL
|
||||
${WAYLAND_SERVER_LIBRARIES}
|
||||
${WAYLAND_EGL_LIBRARIES}
|
||||
${WAYLAND_CLIENT_LIBRARIES}
|
||||
${CURL_LIBRARIES}
|
||||
)
|
||||
elseif (APPLE)
|
||||
target_link_libraries(libslic3r_gui ${DISKARBITRATION_LIBRARY})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue