Skip to content

Commit

Permalink
try fix macos compile
Browse files Browse the repository at this point in the history
  • Loading branch information
yecq committed Jan 21, 2025
1 parent 15b55b7 commit 63989e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (APPLE)
cmake_minimum_required (VERSION 3.28)
cmake_minimum_required (VERSION 3.21)
else (APPLE)
cmake_minimum_required (VERSION 3.16)
endif (APPLE)
Expand Down
2 changes: 1 addition & 1 deletion third_party/synchroni/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ add_library (
)

if (APPLE)
target_link_libraries (${SYNCHRONI_SDK_WRAPPER_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/third_party/synchroni/lib/mac/sensor.xcframework)
target_link_libraries (${SYNCHRONI_SDK_WRAPPER_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/third_party/synchroni/lib/mac/sensor.xcframework/macos-arm64_x86_64/sensor.framework)
elseif (UNIX)
target_link_libraries (${SYNCHRONI_SDK_WRAPPER_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/third_party/synchroni/lib/linux/${SYNCHRONI_SDK_ARCH}/For${CMAKE_BUILD_TYPE}/${SYNCHRONI_SDK_LINK_NAME_LIB})
else ()
Expand Down

0 comments on commit 63989e9

Please sign in to comment.