From be1e4015d5f50669e8baa2f572b2404415e6311c Mon Sep 17 00:00:00 2001 From: Tianshuo Su Date: Thu, 16 Jan 2020 21:23:35 -0800 Subject: [PATCH] Fix broken MacOS irony-mode building command. Found same issue described here: https://www.reddit.com/r/emacs/comments/d0kxj4/ironymode_installing_server_help/ --- modules/lang/cc/README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/cc/README.org b/modules/lang/cc/README.org index ce27d8100..666f25f5d 100644 --- a/modules/lang/cc/README.org +++ b/modules/lang/cc/README.org @@ -76,7 +76,8 @@ mkdir irony-mode/server/build pushd irony-mode/server/build DEST="$HOME/.emacs.d/.local/etc/irony-server/" -cmake -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ +cmake -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm \ + -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ -DCMAKE_INSTALL_PREFIX="$DEST" ../ cmake --build . --use-stderr --config Release --target install