Skip to content

Commit

Permalink
Fix build error due to invalid CMake function parameter
Browse files Browse the repository at this point in the history
`GIT_SHALLOW` is incomaptible with `GIT_TAG` being a SHA
for FetchContent_Declare()
  • Loading branch information
agalasso committed Jan 22, 2025
1 parent 0927de6 commit dc74af7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions thirdparty/thirdparty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,6 @@ 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 @@ -601,7 +600,6 @@ 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 dc74af7

Please sign in to comment.