set_source_files_properties(${TARGET}_probes.o PROPERTIES
GENERATED true
EXTERNAL_OBJECT true)
- else() # not Linux
+ return()
+ endif()
+ cmake_host_system_information(RESULT OS_RELEASE QUERY OS_RELEASE)
+ if(NOT (CMAKE_HOST_SYSTEM_NAME STREQUAL Darwin AND OS_RELEASE VERSION_GREATER_EQUAL 11))
set(PROBES_C ${TARGET}_probes.cc)
file(GENERATE
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PROBES_C}
**Changes from beta2:**
+* Fix [gh #108](https://github.com/m6w6/libmemcached/issues/105):
+ macOS Big Sur: dtrace does not understand -G switch
* Fix libmemcachedprotocol's binary `STAT` and `VERSION` handlers.
* Fix [gh #105](https://github.com/m6w6/libmemcached/issues/105):
EINTR handled too defensively when polling.
**Changes from beta2:**
+* Fix `gh #108 <https://github.com/m6w6/libmemcached/issues/105>`_\ :
+ macOS Big Sur: dtrace does not understand -G switch
* Fix libmemcachedprotocol's binary ``STAT`` and ``VERSION`` handlers.
* Fix `gh #105 <https://github.com/m6w6/libmemcached/issues/105>`_\ :
EINTR handled too defensively when polling.