Change-Id: Ie800f94a7509f0973c12f67e3b1b6b4b03e75adc
Signed-off-by: Inki Dae <inki.dae@samsung.com>
if(WIN32)
set(PROTOBUF_CONFIG_DIR ${PROTOBUF_INSTALL_DIR}/cmake)
else()
- set(PROTOBUF_CONFIG_DIR ${PROTOBUF_INSTALL_DIR}/lib/cmake/protobuf)
+ set(LIB_DIR "lib")
+ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ set(LIB_DIR "lib64")
+ endif()
+ set(PROTOBUF_CONFIG_DIR ${PROTOBUF_INSTALL_DIR}/${LIB_DIR}/cmake/protobuf)
endif()
# Include host protobuf for protoc (https://stackoverflow.com/questions/53651181/cmake-find-protobuf-package-in-custom-directory)