summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindLibhicn.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Modules/FindLibhicn.cmake b/cmake/Modules/FindLibhicn.cmake
index 7cfaaa5e5..38775be6a 100644
--- a/cmake/Modules/FindLibhicn.cmake
+++ b/cmake/Modules/FindLibhicn.cmake
@@ -43,6 +43,9 @@ find_library(HICN_LIBRARY NAMES hicn
)
set(HICN_LIBRARIES ${HICN_LIBRARY})
+if (${CMAKE_SYSTEM_NAME} STREQUAL "Android")
+set(HICN_LIBRARIES ${HICN_LIBRARIES} log)
+endif()
set(HICN_INCLUDE_DIRS ${HICN_INCLUDE_DIR})
include(FindPackageHandleStandardArgs)