Disable dtrace probes on Windows.

Apparently, in Win10, dtrace is avaialable, but it does not work with
MariaDB user probes
This commit is contained in:
Vladislav Vaintroub 2020-06-20 01:01:50 +02:00
parent 727252ff1b
commit b1b9803cb8

View File

@ -43,7 +43,8 @@ MACRO(CHECK_DTRACE)
IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
AND NOT BUGGY_LINUX_DTRACE
AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS"
AND NOT WIN32)
SET(ENABLE_DTRACE ON CACHE BOOL "Enable dtrace")
ENDIF()
# On GNU/Hurd, dtrace is not supported