fix linux build

This commit is contained in:
SoftFever 2023-03-14 23:47:21 +08:00
parent 2895477da4
commit 2f994207b1
4 changed files with 6 additions and 6 deletions

View file

@ -52,9 +52,9 @@ RUN apt-get update && apt-get install -y \
file \
sudo
COPY ./ BambuStudio
COPY ./ OrcaSlicer
WORKDIR BambuStudio
WORKDIR OrcaSlicer
# These can run together, but we run them seperate for podman caching
# Update System dependencies

8
deps/CMakeLists.txt vendored
View file

@ -23,10 +23,6 @@
project(OrcaSlicer-deps)
cmake_minimum_required(VERSION 3.2)
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
cmake_policy(SET CMP0135 NEW)
endif()
include(ExternalProject)
include(ProcessorCount)
@ -42,6 +38,10 @@ option(DEP_DEBUG "Build debug variants (only applicable on Windows)" ON)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
option(DEP_WX_GTK3 "Build wxWidgets against GTK3" OFF)
else()
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
cmake_policy(SET CMP0135 NEW)
endif()
endif()
set(IS_CROSS_COMPILE FALSE)

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB