aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindLibhicn.cmake
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-11-15 17:06:50 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2019-11-15 17:06:50 +0100
commit547acf3eed92d3564139cccf205c852178bcc310 (patch)
tree4a958ce693715190d0c157614fb61baa2172dfd7 /cmake/Modules/FindLibhicn.cmake
parent56d4ce1db07f32a5804db764f72c3b880ab5f961 (diff)
[HICN-386] Improve API error management in libhicnctrl
Change-Id: Ifab987a17255e20077242888b052e312f9e4c964 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'cmake/Modules/FindLibhicn.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)