Skip to content

Commit

Permalink
minor CMake cleanup - use shallow option for git repo pulls
Browse files Browse the repository at this point in the history
  • Loading branch information
agalasso committed Dec 15, 2024
1 parent f8ecbfb commit b986b26
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion thirdparty/thirdparty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b986b26

Please sign in to comment.