aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2021-05-03 12:43:15 +0200
committerAngelo Mantellini <angelo.mantellini@cisco.com>2021-05-03 13:34:52 +0200
commit9b1c12ef3312e4f7355b2218aaf24773b7d541ff (patch)
treee54b3556637829a7b6eac05e742471722e6a4142 /cmake
parent07133ac060c2af721941f7b47c52c075df3168ba (diff)
[HICN-703] correct minor cmake issues and memset in manifest_format_fixed.cc
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I3ed763941fa58bdfc61b9462d3f3bd268d5a76ed
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/BuildMacros.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/Modules/BuildMacros.cmake b/cmake/Modules/BuildMacros.cmake
index 8914d904d..c57aaa73c 100644
--- a/cmake/Modules/BuildMacros.cmake
+++ b/cmake/Modules/BuildMacros.cmake
@@ -262,10 +262,12 @@ macro (build_module module)
if (${CMAKE_SYSTEM_NAME} MATCHES Darwin)
set(LINK_FLAGS "-Wl,-undefined,dynamic_lookup")
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES iOS)
+ set(LINK_FLAGS "-Wl,-undefined,dynamic_lookup")
elseif(${CMAKE_SYSTEM_NAME} MATCHES Linux)
set(LINK_FLAGS "-Wl,-unresolved-symbols=ignore-all")
elseif(${CMAKE_SYSTEM_NAME} MATCHES Windows)
- set(LINK_FLAGS "/wd4275")
+ set(LINK_FLAGS "/wd4275")
else()
message(FATAL_ERROR "Trying to build module on a not supportd platform. Aborting.")
endif()