Module: kamailio Branch: master Commit: 4c7d99c2f65749dcc7aa9a7173c22c9d39ecdbe9 URL: https://github.com/kamailio/kamailio/commit/4c7d99c2f65749dcc7aa9a7173c22c9d39ecdbe9
Author: Xenofon Karamanos <x...@gilawa.com> Committer: Xenofon Karamanos <x...@gilawa.com> Date: 2024-12-03T15:49:19Z cmake: Delete macos.cmake... --- Removed: cmake/os-specific/macos.cmake --- Diff: https://github.com/kamailio/kamailio/commit/4c7d99c2f65749dcc7aa9a7173c22c9d39ecdbe9.diff Patch: https://github.com/kamailio/kamailio/commit/4c7d99c2f65749dcc7aa9a7173c22c9d39ecdbe9.patch --- diff --git a/cmake/os-specific/macos.cmake b/cmake/os-specific/macos.cmake deleted file mode 100644 index 9fcc61f628d..00000000000 --- a/cmake/os-specific/macos.cmake +++ /dev/null @@ -1,41 +0,0 @@ -message( - STATUS - "Configuring for Darwin (Apple stationary operating systems (macOS, OS X, etc.)" -) - -target_compile_definitions( - common - INTERFACE HAVE_SOCKADDR_SA_LEN - HAVE_GETHOSTBYNAME2 - HAVE_UNION_SEMUN - HAVE_SCHED_YIELD - USE_ANON_MMAP - NDEBUG # NDEBUG used to turn off assert (assert wants to call - # eprintf which doesn't seem to be defined in any shared lib - HAVE_CONNECT_ECONNRESET_BUG - HAVE_TIMEGM - USE_SIGWAIT - HAVE_IP_MREQN -) - -target_link_libraries(common INTERFACE resolv) - -message(STATUS "USE_FAST_LOCK = ${USE_FAST_LOCK}") -if(NOT ${USE_FAST_LOCK}) - target_compile_definitions(common INTERFACE USE_PTHREAD_MUTEX USE_SYSV_SEM) -endif() - -set(CMAKE_MODULE_LINKER_FLAGS - "${CMAKE_MODULE_LINKER_FLAGS} -bundle -flat_namespace -undefined suppress" -) -set(CMAKE_SHARED_LINKER_FLAGS - "${CMAKE_SHARED_LINKER_FLAGS} -dynamiclib -flat_namespace -undefined suppress" -) - -if(NOT DEFINED ${NO_SELECT}) - target_compile_definitions(common INTERFACE HAVE_SELECT) -endif() - -if(NOT DEFINED ${NO_KQUEUE}) - target_compile_definitions(common INTERFACE HAVE_KQUEUE) -endif() _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!