diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-20 01:01:50 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-20 01:02:05 +0200 |
commit | b1b9803cb800334962970a8783c782253021e964 (patch) | |
tree | 971c8162daa79c798e4a88c8809572ec5191af67 /cmake/dtrace.cmake | |
parent | 727252ff1bb65c7abddc5a9acb17304695c09265 (diff) | |
download | mariadb-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.cmake | 3 |
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 |