Patch for https://github.com/aelliott/expressioneditor CMakeLists.txt to search for the ICU lib in /usr/local/opt/icu4c where homebrew installs it. Apply with: $ cd /path/to/expressioneditor/ $ curl -s https://gist.github.com/cfg/6242556/raw | patch -p1 --verbose
--- orig/CMakeLists.txt 2013-08-15 11:43:06.000000000 -0500
+++ patched/CMakeLists.txt 2013-08-15 11:47:43.000000000 -0500
@@ -6,10 +6,13 @@
PROJECT(expressioneditor)
# The version number.
SET(expressioneditor_VERSION_MAJOR 0)
SET(expressioneditor_VERSION_MINOR 1)
+set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /usr/local/opt/icu4c/lib)
+set(CMAKE_INCLUDE_PATH ${CMAKE_LIBRARY_PATH} /usr/local/opt/icu4c/include)
+
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${expressioneditor_SOURCE_DIR} ${expressioneditor_BINARY_DIR})
INCLUDE(CheckIncludeFiles)
#INCLUDE(CheckLibraryExists)