diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-02-14 22:16:50 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-02-15 12:51:35 +0100 |
commit | 95740bc5c5f82c13f07bea8b10f20b87d8f5f9a9 (patch) | |
tree | 43cad249152fb7cf968c2763fb4314e4ae383a2b /cmake/dtrace.cmake | |
parent | a5d9597e9703052895c8c2401132e77aa68a6123 (diff) | |
download | mariadb-git-95740bc5c5f82c13f07bea8b10f20b87d8f5f9a9.tar.gz |
dtrace in cmake
1. ignore generated dtrace files
2. don't rewrite probes_mysql_nodtrace.h in-place
Diffstat (limited to 'cmake/dtrace.cmake')
-rw-r--r-- | cmake/dtrace.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/dtrace.cmake b/cmake/dtrace.cmake index 5d0bb7ff8c9..3edcdc4c1c5 100644 --- a/cmake/dtrace.cmake +++ b/cmake/dtrace.cmake @@ -86,6 +86,9 @@ IF(ENABLE_DTRACE) ${CMAKE_BINARY_DIR}/include/probes_mysql_dtrace.h ${CMAKE_BINARY_DIR}/include/probes_mysql_nodtrace.h ) +ELSE() + CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/include/probes_mysql_nodtrace.h.in + ${CMAKE_BINARY_DIR}/include/probes_mysql_nodtrace.h COPYONLY) ENDIF() FUNCTION(DTRACE_INSTRUMENT target) |