mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Remove unnecessary wxWidgets searches
This commit is contained in:
parent
f2c7c80c11
commit
fdb17edad1
1 changed files with 2 additions and 2 deletions
4
deps/wxWidgets/wxWidgets.cmake
vendored
4
deps/wxWidgets/wxWidgets.cmake
vendored
|
@ -1,6 +1,5 @@
|
||||||
set(_wx_git_tag v3.1.4-patched)
|
set(_wx_git_tag v3.1.4-patched)
|
||||||
|
|
||||||
# set(_patch_command "")
|
|
||||||
set(_wx_toolkit "")
|
set(_wx_toolkit "")
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
set(_gtk_ver 2)
|
set(_gtk_ver 2)
|
||||||
|
@ -13,7 +12,6 @@ endif()
|
||||||
prusaslicer_add_cmake_project(wxWidgets
|
prusaslicer_add_cmake_project(wxWidgets
|
||||||
GIT_REPOSITORY "https://github.com/prusa3d/wxWidgets"
|
GIT_REPOSITORY "https://github.com/prusa3d/wxWidgets"
|
||||||
GIT_TAG ${_wx_git_tag}
|
GIT_TAG ${_wx_git_tag}
|
||||||
# PATCH_COMMAND "${_patch_command}"
|
|
||||||
DEPENDS ${PNG_PKG} ${ZLIB_PKG} ${EXPAT_PKG}
|
DEPENDS ${PNG_PKG} ${ZLIB_PKG} ${EXPAT_PKG}
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DwxBUILD_PRECOMP=ON
|
-DwxBUILD_PRECOMP=ON
|
||||||
|
@ -31,6 +29,8 @@ prusaslicer_add_cmake_project(wxWidgets
|
||||||
-DwxUSE_LIBJPEG=builtin
|
-DwxUSE_LIBJPEG=builtin
|
||||||
-DwxUSE_LIBTIFF=builtin
|
-DwxUSE_LIBTIFF=builtin
|
||||||
-DwxUSE_EXPAT=sys
|
-DwxUSE_EXPAT=sys
|
||||||
|
-DwxUSE_LIBSDL=OFF
|
||||||
|
-DwxUSE_XTEST=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue