From 2da8a0ae843de2035cd46a65a8780c4210d487d7 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 11 Mar 2011 09:29:31 -0800 Subject: uhd: only specify BOOST_SP_USE_QUICK_ALLOCATOR for the lib, apps can be built without it --- host/lib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib') diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index 597da85c4..dbfa234b6 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -15,6 +15,10 @@ # along with this program. If not, see . # +#Creating a shared pointer itself has allocation overhead. +#Define the quick allocator to reduce fast-path overhead. +ADD_DEFINITIONS(-DBOOST_SP_USE_QUICK_ALLOCATOR) + ######################################################################## # Helpful Macros ######################################################################## -- cgit v1.2.3