mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272)
This commit is contained in:
@@ -55,7 +55,7 @@ endif()
|
||||
list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# link with resolv lib on Mac OS X
|
||||
# link with resolv lib on macOS
|
||||
list(APPEND LINK_LIBS "resolv")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ set_target_properties(perl PROPERTIES PREFIX "")
|
||||
|
||||
if(PERL_FOUND)
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# remove "-arch xxx" on Mac OS X
|
||||
# remove "-arch xxx" on macOS
|
||||
STRING(REGEX REPLACE "-arch ppc|-arch i386|-arch x86_64" "" PERL_CFLAGS "${PERL_CFLAGS}")
|
||||
STRING(REGEX REPLACE "-arch ppc|-arch i386|-arch x86_64" "" PERL_LFLAGS "${PERL_LFLAGS}")
|
||||
endif()
|
||||
|
||||
@@ -36,7 +36,7 @@ set(LINK_LIBS)
|
||||
list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# link with resolv lib on Mac OS X
|
||||
# link with resolv lib on macOS
|
||||
list(APPEND LINK_LIBS "resolv")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user