Commit b6b8c274 authored by cacu's avatar cacu
Browse files

Universal builds on OS X

parent 7e587adf
......@@ -164,5 +164,7 @@ If you already have Homebrew installed, make sure it's up to date with:
Once Homebrew is installed you can use the `brew` command on a terminal to install
$ brew install boost
$ brew install boost --universal
This will download the boost source and compile it, so it might take a while.
......@@ -2,6 +2,8 @@ set(Boost_USE_STATIC_LIBS ON)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11> $<$<COMPILE_LANGUAGE:C>:-std=c99>)
set(CMAKE_OSX_ARCHITECTURES "x86_64;i386")
set(CMAKE_SKIP_BUILD_RPATH TRUE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_INSTALL_RPATH "@loader_path")
......
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