summaryrefslogtreecommitdiff
path: root/volk/apps
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-20 17:36:08 -0700
committerJosh Blum <josh@joshknows.com>2011-07-20 17:36:08 -0700
commitb835094682f214366f7b8c0220134817c4f34157 (patch)
treef75e9b638aa5e046ca507792afe335ee3d563317 /volk/apps
parentaf686ad1711bae807624ee18671d25236e47e7f4 (diff)
volk: snagged the volk changes from cmake branch
Diffstat (limited to 'volk/apps')
-rw-r--r--volk/apps/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/volk/apps/CMakeLists.txt b/volk/apps/CMakeLists.txt
index a0bf7e900d..b0b48360fe 100644
--- a/volk/apps/CMakeLists.txt
+++ b/volk/apps/CMakeLists.txt
@@ -18,6 +18,10 @@
########################################################################
# Setup profiler
########################################################################
+FIND_PACKAGE(Boost)
+
+IF(Boost_FOUND AND UNIX) #uses mkdir and $HOME
+
IF(MSVC)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/msvc)
ENDIF(MSVC)
@@ -28,6 +32,7 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/lib
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
+ ${Boost_INCLUDE_DIRS}
)
ADD_EXECUTABLE(volk_profile
@@ -36,3 +41,5 @@ ADD_EXECUTABLE(volk_profile
)
TARGET_LINK_LIBRARIES(volk_profile volk ${Boost_LIBRARIES})
+
+ENDIF(Boost_FOUND AND UNIX)