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:
parent
727252ff1b
commit
b1b9803cb8
@ -43,7 +43,8 @@ MACRO(CHECK_DTRACE)
|
|||||||
IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
|
IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
|
||||||
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
|
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
|
||||||
AND NOT BUGGY_LINUX_DTRACE
|
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")
|
SET(ENABLE_DTRACE ON CACHE BOOL "Enable dtrace")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
# On GNU/Hurd, dtrace is not supported
|
# On GNU/Hurd, dtrace is not supported
|
||||||
|
Loading…
x
Reference in New Issue
Block a user