From 0fa51009333003d9f051a3aed78c06ab851550a4 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Mon, 25 Dec 2023 18:29:18 +0800 Subject: [PATCH] Move DL_CACHE into deps folder. Make cross compile easier --- .gitignore | 1 + deps/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a4a9356f3e..764f60d71e 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ src/OrcaSlicer-doc/ **/process_full/ **/machine_full/ **/filament_full/ +/deps/DL_CACHE/ \ No newline at end of file diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 66a858cf6f..1f0c8e5bc1 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -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)