summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-01-24 15:14:13 +0100
committerSergei Golubchik <serg@mariadb.org>2017-01-29 23:05:10 +0100
commit3d12587ca4f6aa3a91b770f652fe8ca6b70c77a1 (patch)
tree8647b307396254a5b42fed2f0b2d7ad0feb89c6e /dbug
parent78712eb52fb78aab1e41241063c09814da366b1f (diff)
downloadmariadb-git-3d12587ca4f6aa3a91b770f652fe8ca6b70c77a1.tar.gz
MDEV-11611 fix Ninja build
ninja doesn't like when a dummy target name matches a generated file name
Diffstat (limited to 'dbug')
-rw-r--r--dbug/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbug/CMakeLists.txt b/dbug/CMakeLists.txt
index 014efdeb9a3..84d6f1ba723 100644
--- a/dbug/CMakeLists.txt
+++ b/dbug/CMakeLists.txt
@@ -58,13 +58,13 @@ IF(NOT WIN32 AND NOT CMAKE_GENERATOR MATCHES Xcode)
ADD_CUSTOM_COMMAND(OUTPUT user.ps
DEPENDS user.r ${OUTPUT_INC} ${SOURCE_INC}
COMMAND ${GROFF} -mm ${CMAKE_CURRENT_SOURCE_DIR}/user.r > user.ps || touch user.ps)
- ADD_CUSTOM_TARGET(user.ps ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/user.ps)
+ ADD_CUSTOM_TARGET(user_ps ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/user.ps)
ENDIF(GROFF)
IF(NROFF)
ADD_CUSTOM_COMMAND(OUTPUT user.t
DEPENDS user.r ${OUTPUT_INC} ${SOURCE_INC}
COMMAND ${NROFF} -mm ${CMAKE_CURRENT_SOURCE_DIR}/user.r > user.t || touch user.t)
- ADD_CUSTOM_TARGET(user.t ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/user.t)
+ ADD_CUSTOM_TARGET(user_t ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/user.t)
ENDIF(NROFF)
ENDIF()