summaryrefslogtreecommitdiff
path: root/cmake/dtrace.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-06-20 01:01:50 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2020-06-20 01:02:05 +0200
commitb1b9803cb800334962970a8783c782253021e964 (patch)
tree971c8162daa79c798e4a88c8809572ec5191af67 /cmake/dtrace.cmake
parent727252ff1bb65c7abddc5a9acb17304695c09265 (diff)
downloadmariadb-git-b1b9803cb800334962970a8783c782253021e964.tar.gz
Disable dtrace probes on Windows.
Apparently, in Win10, dtrace is avaialable, but it does not work with MariaDB user probes
Diffstat (limited to 'cmake/dtrace.cmake')
-rw-r--r--cmake/dtrace.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/dtrace.cmake b/cmake/dtrace.cmake
index 4e0f7501045..d3dded99497 100644
--- a/cmake/dtrace.cmake
+++ b/cmake/dtrace.cmake
@@ -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