summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-06 21:34:43 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-06 21:34:43 (GMT)
commitb3fa4d98a41b32547e1ec661f826913d3540c929 (patch)
tree8d6bf38b49943facd01a9164cb1c64b976cdbaa8
parentd9d584ff106d0fb9cfd538cc83f94f9356287c54 (diff)
Added regex to boost build
-rw-r--r--boost.pri2
-rwxr-xr-xscripts/macosx-build-dependencies.sh3
-rw-r--r--tests/CMakeLists.txt2
3 files changed, 4 insertions, 3 deletions
diff --git a/boost.pri b/boost.pri
index 97beb7f..400300b 100644
--- a/boost.pri
+++ b/boost.pri
@@ -22,7 +22,7 @@ boost {
} else {
# some platforms have only '-mt' versions. uncomment if needed.
# LIBS += -lboost_thread-mt -lboost_program_options-mt
- LIBS += -lboost_thread -lboost_program_options -lboost_filesystem -lboost_system
+ LIBS += -lboost_thread -lboost_program_options -lboost_filesystem -lboost_system -lboost_regex
}
}
}
diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh
index 903c7de..cd2b07f 100755
--- a/scripts/macosx-build-dependencies.sh
+++ b/scripts/macosx-build-dependencies.sh
@@ -140,13 +140,14 @@ build_boost()
tar xjf boost_$bversion.tar.bz2
cd boost_$bversion
# We only need the thread and program_options libraries
- ./bootstrap.sh --prefix=$DEPLOYDIR --with-libraries=thread,program_options,filesystem,system
+ ./bootstrap.sh --prefix=$DEPLOYDIR --with-libraries=thread,program_options,filesystem,system,regex
./bjam cflags="-mmacosx-version-min=10.5 -arch i386 -arch x86_64" linkflags="-mmacosx-version-min=10.5 -arch i386 -arch x86_64"
./bjam install
install_name_tool -id $DEPLOYDIR/lib/libboost_thread.dylib $DEPLOYDIR/lib/libboost_thread.dylib
install_name_tool -id $DEPLOYDIR/lib/libboost_program_options.dylib $DEPLOYDIR/lib/libboost_program_options.dylib
install_name_tool -id $DEPLOYDIR/lib/libboost_filesystem.dylib $DEPLOYDIR/lib/libboost_filesystem.dylib
install_name_tool -id $DEPLOYDIR/lib/libboost_system.dylib $DEPLOYDIR/lib/libboost_system.dylib
+ install_name_tool -id $DEPLOYDIR/lib/libboost_regex.dylib $DEPLOYDIR/lib/libboost_regex.dylib
}
build_cgal()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index df9598e..75fb99c 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -79,7 +79,7 @@ if(BOOST_ROOT)
#set(Boost_DEBUG TRUE)
set(Boost_NO_SYSTEM_PATHS TRUE)
set(Boost_ADDITIONAL_VERSIONS "1.47.0")
- find_package( Boost 1.35.0 COMPONENTS thread program_options filesystem system )
+ find_package( Boost 1.35.0 COMPONENTS thread program_options filesystem system regex )
if(Boost_FOUND)
message(STATUS "Boost includes found: " ${Boost_INCLUDE_DIRS})
message(STATUS "Boost libraries found:")
contact: Jan Huwald // Impressum