Created
August 15, 2013 17:04
-
-
Save cfg/6242556 to your computer and use it in GitHub Desktop.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment