mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-24 05:15:03 -07:00
do "proper" patching of wxwidgets
This commit is contained in:
parent
276774fa44
commit
43ea596252
2 changed files with 2 additions and 2 deletions
2
deps/CMakeLists.txt
vendored
2
deps/CMakeLists.txt
vendored
|
|
@ -94,7 +94,7 @@ message(STATUS "OrcaSlicer deps debug build: ${DEP_DEBUG}")
|
|||
find_package(Git REQUIRED)
|
||||
|
||||
# The default command line for patching. Only works for newer
|
||||
set(PATCH_CMD ${GIT_EXECUTABLE} apply --verbose --ignore-space-change --whitespace=fix)
|
||||
set(PATCH_CMD ${GIT_EXECUTABLE} apply --apply --verbose --ignore-space-change --whitespace=fix)
|
||||
|
||||
if (NOT _is_multi AND NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
|
|
|
|||
2
deps/wxWidgets/wxWidgets.cmake
vendored
2
deps/wxWidgets/wxWidgets.cmake
vendored
|
|
@ -23,7 +23,7 @@ else ()
|
|||
endif ()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(_patch_cmd ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/0001-wx-3.1.5-patch-for-Orca.patch ${CMAKE_CURRENT_LIST_DIR}/0001-Add-support-for-building-WebView-with-libwebkit2gtk-.patch)
|
||||
set(_patch_cmd cat ${CMAKE_CURRENT_LIST_DIR}/0001-wx-3.1.5-patch-for-Orca.patch ${CMAKE_CURRENT_LIST_DIR}/0001-Add-support-for-building-WebView-with-libwebkit2gtk-.patch | patch -p1)
|
||||
endif ()
|
||||
|
||||
orcaslicer_add_cmake_project(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue