Skip to content

Commit

Permalink
Add brew library support for OS X
Browse files Browse the repository at this point in the history
If you install dependencies with brew you will find them in
"/usr/local/Cellar".
This patch adds this location for libxsd.

Tested with OS X Yosemite

Do the preinstallation step like this:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install cmake gcc xerces-c cxxtest boost gsl

brew install https://github.com/Asuranceturix/homebrew/raw/xsd/Library/Formula/xsd.rb
  • Loading branch information
tph-thuering committed Jun 3, 2015
1 parent c41dec1 commit dddfd42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FindXSD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FIND_PATH(XSD_INCLUDE_DIRS xsd/cxx/parser/elements.hxx
"D:/Program Files/CodeSynthesis XSD 3.2/include"
"C:/Program Files/CodeSynthesis XSD 3.3/include"
"C:/Program Files (x86)/CodeSynthesis XSD 3.3/include"
"/usr/local/Cellar/xsd/4.0.0/include"
${CMAKE_SOURCE_DIR}/../xsd/libxsd
)

Expand All @@ -28,6 +29,7 @@ FIND_PROGRAM(XSD_EXECUTABLE
"D:/Program Files/CodeSynthesis XSD 3.2/bin"
"C:/Program Files/CodeSynthesis XSD 3.3/bin"
"C:/Program Files (x86)/CodeSynthesis XSD 3.3/bin"
"/usr/local/Cellar/xsd/4.0.0/bin"
)

if (NOT XSD_INCLUDE_DIRS)
Expand Down

0 comments on commit dddfd42

Please sign in to comment.