Skip to content

Commit

Permalink
Add condition to enable dlfcn path from SDK 5.3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
abhikran-quic committed May 29, 2023
1 parent 62c7e66 commit 48e601d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/modules/HexagonSDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ function(_get_hexagon_sdk_property_impl
"${_hexagon_sdk_root}/rtos/qurt/${_hexarch_dir}/include/posix"
"${_hexagon_sdk_root}/rtos/qurt/${_hexarch_dir}/include/qurt"
"${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/${_rtld_dir}"
"${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/inc"
)
_check_path_exists("${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/inc" _sdk_dlfcn)
if(_sdk_dlfcn)
list(APPEND _dirs "${_hexagon_sdk_root}/ipc/fastrpc/rtld/ship/inc")
endif()
elseif(_property STREQUAL "QURT_LIB")
set(_dirs "${_hexagon_sdk_root}/rtos/qurt/${_hexarch_dir}/lib/pic")
elseif(_property STREQUAL "RPCMEM_ROOT")
Expand Down

0 comments on commit 48e601d

Please sign in to comment.