Skip to content

Commit a8c54ba

Browse files
authored
minor CMake cleanup - use shallow option for git repo pulls (#1265)
1 parent f8ecbfb commit a8c54ba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

thirdparty/thirdparty.cmake

+7-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,11 @@ endif()
523523

524524
#############################################
525525
# wxWidgets
526-
# 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).
526+
#
527+
# The usage is a bit different on all the platforms. For having
528+
# version >= 3.0, a version of cmake >= 3.0 should be used on Windows
529+
# on Linux/OSX it works properly this way).
530+
527531
if(WIN32)
528532
# wxWidgets
529533
set(wxWidgets_CONFIGURATION msw CACHE STRING "Set wxWidgets configuration")
@@ -612,6 +616,7 @@ else()
612616
indi
613617
GIT_REPOSITORY https://github.com/indilib/indi.git
614618
GIT_TAG 856ac85b965177d23cd0c819a49fd50bdaeece60 # v2.0.5
619+
GIT_SHALLOW 1
615620
CMAKE_ARGS -Wno-dev
616621
-DINDI_BUILD_SERVER=OFF
617622
-DINDI_BUILD_DRIVERS=OFF
@@ -721,6 +726,7 @@ if (NOT OPENSOURCE_ONLY)
721726
OGMAcamSDK
722727
GIT_REPOSITORY https://github.com/OGMAvision/OGMAcamSDK.git
723728
GIT_TAG 5e83d81384479b1684b97e9f6936e453050da4cb
729+
GIT_SHALLOW 1
724730
)
725731
FetchContent_MakeAvailable(OGMAcamSDK)
726732
include_directories(${ogmacamsdk_SOURCE_DIR}/inc)

0 commit comments

Comments
 (0)