mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[ios][cmake] Fix building with XCode
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
28d4ae23b4
commit
1475a7890a
@@ -12,7 +12,9 @@ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
|||||||
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
|
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
|
||||||
|
|
||||||
# Disable build-id generation to make builds reproducible.
|
# Disable build-id generation to make builds reproducible.
|
||||||
|
if (NOT APPLE)
|
||||||
add_link_options("LINKER:--build-id=none")
|
add_link_options("LINKER:--build-id=none")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Fixes warning ld: warning: ignoring duplicate libraries on Mac and Windows.
|
# Fixes warning ld: warning: ignoring duplicate libraries on Mac and Windows.
|
||||||
if (POLICY CMP0156)
|
if (POLICY CMP0156)
|
||||||
|
|||||||
Reference in New Issue
Block a user