mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
don't build ctags if on a mac and also using etags because of the case insensitive filesystem
git-svn-id: file:///svn/toku/tokudb@50999 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
cb55979913
commit
0b1b7bd3bd
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ list(APPEND all_hdrs
|
|||
)
|
||||
|
||||
option(USE_CTAGS "Build the ctags database." ON)
|
||||
if (USE_CTAGS)
|
||||
if (USE_CTAGS AND
|
||||
# Macs by default are not case-sensitive, so tags and TAGS clobber each other. Do etags and not ctags in that case, because Emacs is superior. :P
|
||||
(NOT APPLE OR NOT USE_ETAGS))
|
||||
find_program(CTAGS "ctags")
|
||||
if (NOT CTAGS MATCHES NOTFOUND)
|
||||
add_custom_command(
|
||||
|
|
Loading…
Add table
Reference in a new issue