From b986b2635e917a060828d643c2b54440eb9bd4e0 Mon Sep 17 00:00:00 2001 From: Andy Galasso Date: Sun, 15 Dec 2024 18:29:42 -0500 Subject: [PATCH] minor CMake cleanup - use shallow option for git repo pulls --- thirdparty/thirdparty.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/thirdparty/thirdparty.cmake b/thirdparty/thirdparty.cmake index e8566ed7e..ae3c7840b 100644 --- a/thirdparty/thirdparty.cmake +++ b/thirdparty/thirdparty.cmake @@ -523,7 +523,11 @@ endif() ############################################# # wxWidgets -# The usage is a bit different on all the platforms. For having version >= 3.0, a version of cmake >= 3.0 should be used on Windows (on Linux/OSX it works properly this way). +# +# The usage is a bit different on all the platforms. For having +# version >= 3.0, a version of cmake >= 3.0 should be used on Windows +# on Linux/OSX it works properly this way). + if(WIN32) # wxWidgets set(wxWidgets_CONFIGURATION msw CACHE STRING "Set wxWidgets configuration") @@ -612,6 +616,7 @@ else() indi GIT_REPOSITORY https://github.com/indilib/indi.git GIT_TAG 856ac85b965177d23cd0c819a49fd50bdaeece60 # v2.0.5 + GIT_SHALLOW 1 CMAKE_ARGS -Wno-dev -DINDI_BUILD_SERVER=OFF -DINDI_BUILD_DRIVERS=OFF @@ -721,6 +726,7 @@ if (NOT OPENSOURCE_ONLY) OGMAcamSDK GIT_REPOSITORY https://github.com/OGMAvision/OGMAcamSDK.git GIT_TAG 5e83d81384479b1684b97e9f6936e453050da4cb + GIT_SHALLOW 1 ) FetchContent_MakeAvailable(OGMAcamSDK) include_directories(${ogmacamsdk_SOURCE_DIR}/inc)