Move DL_CACHE into deps folder. Make cross compile easier

This commit is contained in:
SoftFever 2023-12-25 18:29:18 +08:00
parent 3086875c51
commit 9127bed11f
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -30,3 +30,4 @@ src/OrcaSlicer-doc/
**/process_full/
**/machine_full/
**/filament_full/
/deps/DL_CACHE/

2
deps/CMakeLists.txt vendored
View file

@ -32,7 +32,7 @@ if (NPROC EQUAL 0)
endif ()
set(DESTDIR "${CMAKE_CURRENT_BINARY_DIR}/destdir" CACHE PATH "Destination directory")
set(DEP_DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/DL_CACHE CACHE PATH "Path for downloaded source packages.")
set(DEP_DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/../DL_CACHE CACHE PATH "Path for downloaded source packages.")
option(DEP_DEBUG "Build debug variants (only applicable on Windows)" OFF)