Skip to content

Commit 2f99420

Browse files
committed
fix linux build
1 parent 2895477 commit 2f99420

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Containerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ RUN apt-get update && apt-get install -y \
5252
file \
5353
sudo
5454

55-
COPY ./ BambuStudio
55+
COPY ./ OrcaSlicer
5656

57-
WORKDIR BambuStudio
57+
WORKDIR OrcaSlicer
5858

5959
# These can run together, but we run them seperate for podman caching
6060
# Update System dependencies

deps/CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
project(OrcaSlicer-deps)
2424
cmake_minimum_required(VERSION 3.2)
2525

26-
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
27-
cmake_policy(SET CMP0135 NEW)
28-
endif()
29-
3026
include(ExternalProject)
3127
include(ProcessorCount)
3228

@@ -42,6 +38,10 @@ option(DEP_DEBUG "Build debug variants (only applicable on Windows)" ON)
4238

4339
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
4440
option(DEP_WX_GTK3 "Build wxWidgets against GTK3" OFF)
41+
else()
42+
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
43+
cmake_policy(SET CMP0135 NEW)
44+
endif()
4545
endif()
4646

4747
set(IS_CROSS_COMPILE FALSE)

resources/images/OrcaSlicer.png

2.96 KB
Loading

resources/images/OrcaSlicer_192px.png

3.62 KB
Loading

0 commit comments

Comments
 (0)