Add new option DEP_DOWNLOAD_DIR and go with URLs everywhere
This commit is contained in:
parent
76ec61441e
commit
ac51a7c3d1
11
deps/Blosc/Blosc.cmake
vendored
11
deps/Blosc/Blosc.cmake
vendored
@ -7,11 +7,14 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
prusaslicer_add_cmake_project(Blosc
|
prusaslicer_add_cmake_project(Blosc
|
||||||
GIT_REPOSITORY https://github.com/Blosc/c-blosc.git
|
# GIT_REPOSITORY https://github.com/Blosc/c-blosc.git
|
||||||
GIT_TAG e63775855294b50820ef44d1b157f4de1cc38d3e #v1.17.0
|
# GIT_TAG e63775855294b50820ef44d1b157f4de1cc38d3e #v1.17.0
|
||||||
|
URL https://github.com/Blosc/c-blosc/archive/refs/tags/v1.17.0.zip
|
||||||
|
URL_HASH SHA256=7463a1df566704f212263312717ab2c36b45d45cba6cd0dccebf91b2cc4b4da9
|
||||||
DEPENDS ${ZLIB_PKG}
|
DEPENDS ${ZLIB_PKG}
|
||||||
PATCH_COMMAND ${GIT_EXECUTABLE} reset --hard && ${GIT_EXECUTABLE} clean -df &&
|
PATCH_COMMAND #${GIT_EXECUTABLE} reset --hard && ${GIT_EXECUTABLE} clean -df &&
|
||||||
${GIT_EXECUTABLE} apply --whitespace=nowarn ${CMAKE_CURRENT_LIST_DIR}/blosc-mods.patch
|
#${GIT_EXECUTABLE} apply --whitespace=nowarn ${CMAKE_CURRENT_LIST_DIR}/blosc-mods.patch
|
||||||
|
${GIT_EXECUTABLE} apply --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/blosc-mods.patch
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||||
-DBUILD_SHARED=${_build_shared}
|
-DBUILD_SHARED=${_build_shared}
|
||||||
|
23
deps/Boost/Boost.cmake
vendored
23
deps/Boost/Boost.cmake
vendored
@ -117,15 +117,34 @@ set(_build_cmd ${_build_cmd}
|
|||||||
|
|
||||||
set(_install_cmd ${_build_cmd} --prefix=${_prefix} install)
|
set(_install_cmd ${_build_cmd} --prefix=${_prefix} install)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
dep_Boost
|
dep_Boost
|
||||||
URL "https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz"
|
URL "https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz"
|
||||||
URL_HASH SHA256=882b48708d211a5f48e60b0124cf5863c1534cd544ecd0664bb534a4b5d506e9
|
URL_HASH SHA256=882b48708d211a5f48e60b0124cf5863c1534cd544ecd0664bb534a4b5d506e9
|
||||||
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/Boost
|
||||||
CONFIGURE_COMMAND "${_bootstrap_cmd}"
|
CONFIGURE_COMMAND "${_bootstrap_cmd}"
|
||||||
PATCH_COMMAND ${_patch_command}
|
PATCH_COMMAND ${_patch_command}
|
||||||
BUILD_COMMAND "${_build_cmd}"
|
BUILD_COMMAND "${_build_cmd}"
|
||||||
BUILD_IN_SOURCE ON
|
BUILD_IN_SOURCE ON
|
||||||
INSTALL_COMMAND "${_install_cmd}"
|
INSTALL_COMMAND "${_install_cmd}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if ("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
|
||||||
|
# Patch the boost::polygon library with a custom one.
|
||||||
|
ExternalProject_Add(dep_boost_polygon
|
||||||
|
EXCLUDE_FROM_ALL ON
|
||||||
|
# GIT_REPOSITORY "https://github.com/prusa3d/polygon"
|
||||||
|
# GIT_TAG prusaslicer_gmp
|
||||||
|
URL https://github.com/prusa3d/polygon/archive/679b55115a1b106d918de8c7adf6ff0478abda1e.zip
|
||||||
|
URL_HASH SHA256=b3f288fcd3cee925753d1352783cefc98a5cab777dd0a5a985493a9b2d931752
|
||||||
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/boost_polygon
|
||||||
|
DEPENDS dep_Boost
|
||||||
|
CONFIGURE_COMMAND ""
|
||||||
|
BUILD_COMMAND ""
|
||||||
|
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/dep_boost_polygon-prefix/src/dep_boost_polygon/include/boost/polygon"
|
||||||
|
"${DESTDIR}/usr/local/include/boost/polygon"
|
||||||
|
)
|
||||||
|
# Only override boost::Polygon Voronoi implementation with Vojtech's GMP hacks on 64bit platforms.
|
||||||
|
list(APPEND _dep_list "dep_boost_polygon")
|
||||||
|
endif ()
|
8
deps/CGAL/CGAL.cmake
vendored
8
deps/CGAL/CGAL.cmake
vendored
@ -1,10 +1,10 @@
|
|||||||
prusaslicer_add_cmake_project(
|
prusaslicer_add_cmake_project(
|
||||||
CGAL
|
CGAL
|
||||||
GIT_REPOSITORY https://github.com/CGAL/cgal.git
|
# GIT_REPOSITORY https://github.com/CGAL/cgal.git
|
||||||
GIT_TAG bec70a6d52d8aacb0b3d82a7b4edc3caa899184b # releases/CGAL-5.0
|
# GIT_TAG bec70a6d52d8aacb0b3d82a7b4edc3caa899184b # releases/CGAL-5.0
|
||||||
# For whatever reason, this keeps downloading forever (repeats downloads if finished)
|
# For whatever reason, this keeps downloading forever (repeats downloads if finished)
|
||||||
# URL https://github.com/CGAL/cgal/archive/releases/CGAL-5.0.zip
|
URL https://github.com/CGAL/cgal/archive/releases/CGAL-5.0.zip
|
||||||
# URL_HASH SHA256=bd9327be903ab7ee379a8a7a0609eba0962f5078d2497cf8e13e8e1598584154
|
URL_HASH SHA256=bd9327be903ab7ee379a8a7a0609eba0962f5078d2497cf8e13e8e1598584154
|
||||||
DEPENDS dep_Boost dep_GMP dep_MPFR
|
DEPENDS dep_Boost dep_GMP dep_MPFR
|
||||||
)
|
)
|
||||||
|
|
||||||
|
20
deps/CMakeLists.txt
vendored
20
deps/CMakeLists.txt
vendored
@ -32,6 +32,7 @@ if (NPROC EQUAL 0)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set(DESTDIR "${CMAKE_CURRENT_BINARY_DIR}/destdir" CACHE PATH "Destination directory")
|
set(DESTDIR "${CMAKE_CURRENT_BINARY_DIR}/destdir" CACHE PATH "Destination directory")
|
||||||
|
set(DEP_DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "Path for downloaded source packages.")
|
||||||
|
|
||||||
option(DEP_DEBUG "Build debug variants (only applicable on Windows)" ON)
|
option(DEP_DEBUG "Build debug variants (only applicable on Windows)" ON)
|
||||||
|
|
||||||
@ -46,6 +47,7 @@ endif()
|
|||||||
# option(DEP_BUILD_IGL_STATIC "Build IGL as a static library. Might cause link errors and increase binary size." OFF)
|
# option(DEP_BUILD_IGL_STATIC "Build IGL as a static library. Might cause link errors and increase binary size." OFF)
|
||||||
|
|
||||||
message(STATUS "PrusaSlicer deps DESTDIR: ${DESTDIR}")
|
message(STATUS "PrusaSlicer deps DESTDIR: ${DESTDIR}")
|
||||||
|
message(STATUS "PrusaSlicer dowload dir for source packages: ${DEP_DOWNLOAD_DIR}")
|
||||||
message(STATUS "PrusaSlicer deps debug build: ${DEP_DEBUG}")
|
message(STATUS "PrusaSlicer deps debug build: ${DEP_DEBUG}")
|
||||||
|
|
||||||
find_package(Git REQUIRED)
|
find_package(Git REQUIRED)
|
||||||
@ -71,6 +73,7 @@ function(prusaslicer_add_cmake_project projectname)
|
|||||||
dep_${projectname}
|
dep_${projectname}
|
||||||
EXCLUDE_FROM_ALL ON
|
EXCLUDE_FROM_ALL ON
|
||||||
INSTALL_DIR ${DESTDIR}/usr/local
|
INSTALL_DIR ${DESTDIR}/usr/local
|
||||||
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/${projectname}
|
||||||
${_gen}
|
${_gen}
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DCMAKE_INSTALL_PREFIX:STRING=${DESTDIR}/usr/local
|
-DCMAKE_INSTALL_PREFIX:STRING=${DESTDIR}/usr/local
|
||||||
@ -187,23 +190,6 @@ set(_dep_list
|
|||||||
${EXPAT_PKG}
|
${EXPAT_PKG}
|
||||||
)
|
)
|
||||||
|
|
||||||
if ("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
|
|
||||||
# Patch the boost::polygon library with a custom one.
|
|
||||||
ExternalProject_Add(dep_boost_polygon
|
|
||||||
EXCLUDE_FROM_ALL ON
|
|
||||||
GIT_REPOSITORY "https://github.com/prusa3d/polygon"
|
|
||||||
GIT_TAG prusaslicer_gmp
|
|
||||||
DEPENDS dep_Boost
|
|
||||||
CONFIGURE_COMMAND ""
|
|
||||||
BUILD_COMMAND ""
|
|
||||||
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/dep_boost_polygon-prefix/src/dep_boost_polygon/include/boost/polygon"
|
|
||||||
"${DESTDIR}/usr/local/include/boost/polygon"
|
|
||||||
)
|
|
||||||
# Only override boost::Polygon Voronoi implementation with Vojtech's GMP hacks on 64bit platforms.
|
|
||||||
list(APPEND _dep_list "dep_boost_polygon")
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# Experimental
|
# Experimental
|
||||||
#list(APPEND _dep_list "dep_qhull")
|
#list(APPEND _dep_list "dep_qhull")
|
||||||
|
2
deps/Cereal/Cereal.cmake
vendored
2
deps/Cereal/Cereal.cmake
vendored
@ -1,6 +1,6 @@
|
|||||||
prusaslicer_add_cmake_project(Cereal
|
prusaslicer_add_cmake_project(Cereal
|
||||||
URL "https://github.com/USCiLab/cereal/archive/v1.2.2.tar.gz"
|
URL "https://github.com/USCiLab/cereal/archive/v1.2.2.tar.gz"
|
||||||
# URL_HASH SHA256=c6dd7a5701fff8ad5ebb45a3dc8e757e61d52658de3918e38bab233e7fd3b4ae
|
URL_HASH SHA256=1921f26d2e1daf9132da3c432e2fd02093ecaedf846e65d7679ddf868c7289c4
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DJUST_INSTALL_CEREAL=on
|
-DJUST_INSTALL_CEREAL=on
|
||||||
)
|
)
|
3
deps/GMP/GMP.cmake
vendored
3
deps/GMP/GMP.cmake
vendored
@ -43,8 +43,9 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
ExternalProject_Add(dep_GMP
|
ExternalProject_Add(dep_GMP
|
||||||
# URL https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
|
|
||||||
URL https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2
|
URL https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2
|
||||||
|
URL_HASH SHA256=eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c
|
||||||
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/GMP
|
||||||
BUILD_IN_SOURCE ON
|
BUILD_IN_SOURCE ON
|
||||||
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt}
|
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt}
|
||||||
BUILD_COMMAND make -j
|
BUILD_COMMAND make -j
|
||||||
|
2
deps/MPFR/MPFR.cmake
vendored
2
deps/MPFR/MPFR.cmake
vendored
@ -27,6 +27,8 @@ else ()
|
|||||||
|
|
||||||
ExternalProject_Add(dep_MPFR
|
ExternalProject_Add(dep_MPFR
|
||||||
URL http://ftp.vim.org/ftp/gnu/mpfr/mpfr-3.1.6.tar.bz2 https://www.mpfr.org/mpfr-3.1.6/mpfr-3.1.6.tar.bz2 # mirrors are allowed
|
URL http://ftp.vim.org/ftp/gnu/mpfr/mpfr-3.1.6.tar.bz2 https://www.mpfr.org/mpfr-3.1.6/mpfr-3.1.6.tar.bz2 # mirrors are allowed
|
||||||
|
URL_HASH SHA256=cf4f4b2d80abb79e820e78c8077b6725bbbb4e8f41896783c899087be0e94068
|
||||||
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/MPFR
|
||||||
BUILD_IN_SOURCE ON
|
BUILD_IN_SOURCE ON
|
||||||
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt}
|
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt}
|
||||||
BUILD_COMMAND make -j
|
BUILD_COMMAND make -j
|
||||||
|
6
deps/OpenCSG/OpenCSG.cmake
vendored
6
deps/OpenCSG/OpenCSG.cmake
vendored
@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
prusaslicer_add_cmake_project(OpenCSG
|
prusaslicer_add_cmake_project(OpenCSG
|
||||||
GIT_REPOSITORY https://github.com/floriankirsch/OpenCSG.git
|
# GIT_REPOSITORY https://github.com/floriankirsch/OpenCSG.git
|
||||||
GIT_TAG 83e274457b46c9ad11a4ee599203250b1618f3b9 #v1.4.2
|
# GIT_TAG 83e274457b46c9ad11a4ee599203250b1618f3b9 #v1.4.2
|
||||||
|
URL https://github.com/floriankirsch/OpenCSG/archive/refs/tags/opencsg-1-4-2-release.zip
|
||||||
|
URL_HASH SHA256=51afe0db79af8386e2027d56d685177135581e0ee82ade9d7f2caff8deab5ec5
|
||||||
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.in ./CMakeLists.txt
|
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.in ./CMakeLists.txt
|
||||||
DEPENDS dep_GLEW
|
DEPENDS dep_GLEW
|
||||||
)
|
)
|
||||||
|
4
deps/OpenEXR/OpenEXR.cmake
vendored
4
deps/OpenEXR/OpenEXR.cmake
vendored
@ -1,5 +1,7 @@
|
|||||||
prusaslicer_add_cmake_project(OpenEXR
|
prusaslicer_add_cmake_project(OpenEXR
|
||||||
GIT_REPOSITORY https://github.com/openexr/openexr.git
|
# GIT_REPOSITORY https://github.com/openexr/openexr.git
|
||||||
|
URL https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v2.5.5.zip
|
||||||
|
URL_HASH SHA256=0307a3d7e1fa1e77e9d84d7e9a8694583fbbbfd50bdc6884e2c96b8ef6b902de
|
||||||
DEPENDS ${ZLIB_PKG}
|
DEPENDS ${ZLIB_PKG}
|
||||||
GIT_TAG v2.5.5
|
GIT_TAG v2.5.5
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
|
1
deps/OpenSSL/OpenSSL.cmake
vendored
1
deps/OpenSSL/OpenSSL.cmake
vendored
@ -19,6 +19,7 @@ ExternalProject_Add(dep_OpenSSL
|
|||||||
EXCLUDE_FROM_ALL ON
|
EXCLUDE_FROM_ALL ON
|
||||||
URL "https://github.com/openssl/openssl/archive/OpenSSL_1_1_0l.tar.gz"
|
URL "https://github.com/openssl/openssl/archive/OpenSSL_1_1_0l.tar.gz"
|
||||||
URL_HASH SHA256=e2acf0cf58d9bff2b42f2dc0aee79340c8ffe2c5e45d3ca4533dd5d4f5775b1d
|
URL_HASH SHA256=e2acf0cf58d9bff2b42f2dc0aee79340c8ffe2c5e45d3ca4533dd5d4f5775b1d
|
||||||
|
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/OpenSSL
|
||||||
BUILD_IN_SOURCE ON
|
BUILD_IN_SOURCE ON
|
||||||
CONFIGURE_COMMAND ./Configure ${_cross_arch}
|
CONFIGURE_COMMAND ./Configure ${_cross_arch}
|
||||||
"--prefix=${DESTDIR}/usr/local"
|
"--prefix=${DESTDIR}/usr/local"
|
||||||
|
6
deps/PNG/PNG.cmake
vendored
6
deps/PNG/PNG.cmake
vendored
@ -6,8 +6,10 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
prusaslicer_add_cmake_project(PNG
|
prusaslicer_add_cmake_project(PNG
|
||||||
GIT_REPOSITORY https://github.com/glennrp/libpng.git
|
# GIT_REPOSITORY https://github.com/glennrp/libpng.git
|
||||||
GIT_TAG v1.6.35
|
# GIT_TAG v1.6.35
|
||||||
|
URL https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.zip
|
||||||
|
URL_HASH SHA256=3d22d46c566b1761a0e15ea397589b3a5f36ac09b7c785382e6470156c04247f
|
||||||
DEPENDS ${ZLIB_PKG}
|
DEPENDS ${ZLIB_PKG}
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DPNG_SHARED=OFF
|
-DPNG_SHARED=OFF
|
||||||
|
6
deps/Qhull/Qhull.cmake
vendored
6
deps/Qhull/Qhull.cmake
vendored
@ -1,9 +1,7 @@
|
|||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
prusaslicer_add_cmake_project(Qhull
|
prusaslicer_add_cmake_project(Qhull
|
||||||
# URL "https://github.com/qhull/qhull/archive/v7.3.2.tar.gz"
|
URL "https://github.com/qhull/qhull/archive/v8.0.0.zip"
|
||||||
# URL_HASH SHA256=619c8a954880d545194bc03359404ef36a1abd2dde03678089459757fd790cb0
|
URL_HASH SHA256=7edae57142989690bc432893da47db5b7069a150c82ba113e46977904ca326ef
|
||||||
GIT_REPOSITORY https://github.com/qhull/qhull.git
|
|
||||||
GIT_TAG 7afedcc73666e46a9f1d74632412ebecf53b1b30 # v7.3.2 plus the mac build patch
|
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DINCLUDE_INSTALL_DIR=${CMAKE_INSTALL_INCLUDEDIR}
|
-DINCLUDE_INSTALL_DIR=${CMAKE_INSTALL_INCLUDEDIR}
|
||||||
)
|
)
|
||||||
|
2
deps/TBB/TBB.cmake
vendored
2
deps/TBB/TBB.cmake
vendored
@ -11,7 +11,7 @@ prusaslicer_add_cmake_project(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_debug_dep(dep_tbb)
|
add_debug_dep(dep_TBB)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
|
10
deps/ZLIB/ZLIB.cmake
vendored
10
deps/ZLIB/ZLIB.cmake
vendored
@ -1,8 +1,10 @@
|
|||||||
prusaslicer_add_cmake_project(ZLIB
|
prusaslicer_add_cmake_project(ZLIB
|
||||||
GIT_REPOSITORY https://github.com/madler/zlib.git
|
# GIT_REPOSITORY https://github.com/madler/zlib.git
|
||||||
GIT_TAG v1.2.11
|
# GIT_TAG v1.2.11
|
||||||
PATCH_COMMAND ${GIT_EXECUTABLE} checkout -f -- . && git clean -df &&
|
URL https://github.com/madler/zlib/archive/refs/tags/v1.2.11.zip
|
||||||
${GIT_EXECUTABLE} apply --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-Respect-BUILD_SHARED_LIBS.patch
|
URL_HASH SHA256=f5cc4ab910db99b2bdbba39ebbdc225ffc2aa04b4057bc2817f1b94b6978cfc3
|
||||||
|
PATCH_COMMAND #${GIT_EXECUTABLE} checkout -f -- . && git clean -df &&
|
||||||
|
${GIT_EXECUTABLE} apply --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-Respect-BUILD_SHARED_LIBS.patch
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DSKIP_INSTALL_FILES=ON # Prevent installation of man pages et al.
|
-DSKIP_INSTALL_FILES=ON # Prevent installation of man pages et al.
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||||
|
6
deps/wxWidgets/wxWidgets.cmake
vendored
6
deps/wxWidgets/wxWidgets.cmake
vendored
@ -10,8 +10,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||||||
endif()
|
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 tm_cross_compile #${_wx_git_tag}
|
# GIT_TAG tm_cross_compile #${_wx_git_tag}
|
||||||
|
URL https://github.com/prusa3d/wxWidgets/archive/refs/heads/tm_cross_compile.zip
|
||||||
|
URL_HASH SHA256=592aa716a4e8d609b74cdbd08a943e628f3c32b3ca6e4f76fb5f3d5698898dc1
|
||||||
DEPENDS ${PNG_PKG} ${ZLIB_PKG} ${EXPAT_PKG}
|
DEPENDS ${PNG_PKG} ${ZLIB_PKG} ${EXPAT_PKG}
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
-DwxBUILD_PRECOMP=ON
|
-DwxBUILD_PRECOMP=ON
|
||||||
|
Loading…
Reference in New Issue
Block a user