Skip to content

Commit

Permalink
Merge pull request #2296 from mavlink/pr-msvc-try
Browse files Browse the repository at this point in the history
CI: try to fix MSVC
  • Loading branch information
julianoes authored May 8, 2024
2 parents 5a3d7eb + 4780967 commit 68c5dc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ jobs:
id: cache
with:
path: ./build/release/third_party/install
key: ${{ github.job }}-${{ hashFiles('./third_party/**') }}-2
key: ${{ github.job }}-${{ hashFiles('./third_party/**') }}-4
- name: disable superbuild on cache hit
if: steps.cache.outputs.cache-hit == 'true'
run: |
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ endif()
# This will noop if hunter is not enabled
hunter_add_package(jsoncpp)
hunter_add_package(CURL)
hunter_add_package(lzma)

find_package(CURL REQUIRED)
find_package(LibLZMA REQUIRED)
Expand Down
6 changes: 1 addition & 5 deletions src/mavsdk/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@ cmake_policy(SET CMP0079 NEW)
target_link_libraries(mavsdk
PRIVATE
Threads::Threads
${LIBLZMA_LIBRARIES}
)
target_include_directories(mavsdk
PRIVATE
${LIBLZMA_INCLUDE_DIRS}
LibLZMA::LibLZMA
)

if (NOT BUILD_WITHOUT_CURL)
Expand Down

0 comments on commit 68c5dc2

Please sign in to comment.