aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_fomod_plus
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_fomod_plus')
-rw-r--r--libs/installer_fomod_plus/installer/CMakeLists.txt2
-rw-r--r--libs/installer_fomod_plus/patchwizard/CMakeLists.txt2
-rw-r--r--libs/installer_fomod_plus/scanner/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/libs/installer_fomod_plus/installer/CMakeLists.txt b/libs/installer_fomod_plus/installer/CMakeLists.txt
index 70018ff..07a670b 100644
--- a/libs/installer_fomod_plus/installer/CMakeLists.txt
+++ b/libs/installer_fomod_plus/installer/CMakeLists.txt
@@ -29,7 +29,7 @@ FetchContent_Declare(
-P ${CMAKE_CURRENT_LIST_DIR}/../cmake/patch_pugixml.cmake
)
-FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
+FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE)
FetchContent_MakeAvailable(pugixml json)
set(project_type plugin)
diff --git a/libs/installer_fomod_plus/patchwizard/CMakeLists.txt b/libs/installer_fomod_plus/patchwizard/CMakeLists.txt
index be46b32..2cb8ebb 100644
--- a/libs/installer_fomod_plus/patchwizard/CMakeLists.txt
+++ b/libs/installer_fomod_plus/patchwizard/CMakeLists.txt
@@ -14,7 +14,7 @@ file(GLOB SHARE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../share/**/*.cpp")
add_library(fomod_plus_patch_wizard SHARED ${PATCHWIZARD_SOURCES} ${SHARE_SOURCES})
-FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
+FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE)
FetchContent_Declare(pugixml GIT_REPOSITORY https://github.com/zeux/pugixml GIT_TAG v1.14)
FetchContent_MakeAvailable(pugixml json)
diff --git a/libs/installer_fomod_plus/scanner/CMakeLists.txt b/libs/installer_fomod_plus/scanner/CMakeLists.txt
index daea477..f50dea2 100644
--- a/libs/installer_fomod_plus/scanner/CMakeLists.txt
+++ b/libs/installer_fomod_plus/scanner/CMakeLists.txt
@@ -13,7 +13,7 @@ file(GLOB_RECURSE SCANNER_SOURCES CONFIGURE_DEPENDS
add_library(fomod_plus_scanner SHARED ${SCANNER_SOURCES})
-FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
+FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE)
FetchContent_Declare(pugixml GIT_REPOSITORY https://github.com/zeux/pugixml GIT_TAG v1.14)
FetchContent_MakeAvailable(pugixml json)