Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmake/Platform/Other/FindArduinoSDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ function(find_arduino_sdk _return_var)
"If so, please set the ARDUINO_SDK_PATH CMake-Variable")
message(FATAL_ERROR ${error_message})
else ()
if (${CMAKE_HOST_APPLE})
get_filename_component(sdk_path "${sdk_path}" DIRECTORY)
string(APPEND sdk_path "/Java")
endif()
set(${_return_var} "${sdk_path}" PARENT_SCOPE)
endif ()

Expand Down