We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d6dfe commit 0b67a1fCopy full SHA for 0b67a1f
cmake/Flags.cmake
@@ -131,12 +131,14 @@ endif()
131
# Don't include symbols for the linked libraries
132
function(exclude_archive_libs_symbols target)
133
if(WIN32)
134
- # TODO: check if this has an equivalent flag for MSVC
+ # No direct equivalent for MSVC
135
+ elseif(APPLE)
136
+ # No equivalent flag on macOS ld64
137
elseif(UNIX)
138
get_property(TEMP_LINK_FLAGS TARGET ${target} PROPERTY LINK_FLAGS)
139
set(TEMP_LINK_FLAGS "${TEMP_LINK_FLAGS} -Wl,--exclude-libs=ALL")
140
set_property(TARGET ${target} PROPERTY LINK_FLAGS ${TEMP_LINK_FLAGS})
141
else()
- message(FATAL_ERROR "Unexpeced host, stopping build")
142
+ message(FATAL_ERROR "Unexpected host, stopping build")
143
endif()
144
endfunction()
0 commit comments