mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 07:34:26 +08:00
fix linux build
This commit is contained in:
parent
2895477da4
commit
2f994207b1
@ -52,9 +52,9 @@ RUN apt-get update && apt-get install -y \
|
|||||||
file \
|
file \
|
||||||
sudo
|
sudo
|
||||||
|
|
||||||
COPY ./ BambuStudio
|
COPY ./ OrcaSlicer
|
||||||
|
|
||||||
WORKDIR BambuStudio
|
WORKDIR OrcaSlicer
|
||||||
|
|
||||||
# These can run together, but we run them seperate for podman caching
|
# These can run together, but we run them seperate for podman caching
|
||||||
# Update System dependencies
|
# Update System dependencies
|
||||||
|
8
deps/CMakeLists.txt
vendored
8
deps/CMakeLists.txt
vendored
@ -23,10 +23,6 @@
|
|||||||
project(OrcaSlicer-deps)
|
project(OrcaSlicer-deps)
|
||||||
cmake_minimum_required(VERSION 3.2)
|
cmake_minimum_required(VERSION 3.2)
|
||||||
|
|
||||||
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
|
|
||||||
cmake_policy(SET CMP0135 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(ExternalProject)
|
include(ExternalProject)
|
||||||
include(ProcessorCount)
|
include(ProcessorCount)
|
||||||
|
|
||||||
@ -42,6 +38,10 @@ option(DEP_DEBUG "Build debug variants (only applicable on Windows)" ON)
|
|||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
option(DEP_WX_GTK3 "Build wxWidgets against GTK3" OFF)
|
option(DEP_WX_GTK3 "Build wxWidgets against GTK3" OFF)
|
||||||
|
else()
|
||||||
|
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
|
||||||
|
cmake_policy(SET CMP0135 NEW)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(IS_CROSS_COMPILE FALSE)
|
set(IS_CROSS_COMPILE FALSE)
|
||||||
|
BIN
resources/images/OrcaSlicer.png
Normal file
BIN
resources/images/OrcaSlicer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
resources/images/OrcaSlicer_192px.png
Normal file
BIN
resources/images/OrcaSlicer_192px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Loading…
x
Reference in New Issue
Block a user