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 33413c6 commit fafa57bCopy full SHA for fafa57b
mysys/CMakeLists.txt
@@ -184,8 +184,8 @@ ENDIF()
184
# This causes cmake to append dbug twice when you append mysys as a library.
185
# And you get a warning from the MacOSX linker.
186
# TODO: to remove the circular dependency and this workaround.
187
-include(CheckLinkerFlag)
188
IF(APPLE AND (CMAKE_VERSION VERSION_GREATER_EQUAL "3.18"))
+ include(CheckLinkerFlag)
189
CHECK_LINKER_FLAG(C "LINKER:-no_warn_duplicate_libraries" HAVE_NO_WARN_DUPLICATE_LIBRARIES)
190
IF(HAVE_NO_WARN_DUPLICATE_LIBRARIES)
191
TARGET_LINK_OPTIONS(mysys INTERFACE LINKER:-no_warn_duplicate_libraries)
0 commit comments