Commit 0b1b7bd3 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

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
parent cb559799
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment