From b835094682f214366f7b8c0220134817c4f34157 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 20 Jul 2011 17:36:08 -0700 Subject: volk: snagged the volk changes from cmake branch --- volk/apps/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'volk/apps') diff --git a/volk/apps/CMakeLists.txt b/volk/apps/CMakeLists.txt index a0bf7e900..b0b48360f 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) -- cgit