summaryrefslogtreecommitdiff
path: root/volk/apps
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-08 17:11:12 -0700
committerJosh Blum <josh@joshknows.com>2011-10-08 17:11:12 -0700
commit71c0f14a46f85027b95f2f5f6d3d219cc9e3783e (patch)
tree046d89555243ede65bfc7bc0a6cbfc7f870ff4cb /volk/apps
parent63b87bf4e6e9a2f1112c17c57796b69b3b8a2b3e (diff)
gr: the CMakeLists.txt took a chill pill
Diffstat (limited to 'volk/apps')
-rw-r--r--volk/apps/CMakeLists.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/volk/apps/CMakeLists.txt b/volk/apps/CMakeLists.txt
index b0b48360fe..f27bdc126c 100644
--- a/volk/apps/CMakeLists.txt
+++ b/volk/apps/CMakeLists.txt
@@ -18,15 +18,15 @@
########################################################################
# Setup profiler
########################################################################
-FIND_PACKAGE(Boost)
+find_package(Boost)
-IF(Boost_FOUND AND UNIX) #uses mkdir and $HOME
+if(Boost_FOUND AND UNIX) #uses mkdir and $HOME
-IF(MSVC)
- INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/msvc)
-ENDIF(MSVC)
+if(MSVC)
+ include_directories(${CMAKE_SOURCE_DIR}/msvc)
+endif(MSVC)
-INCLUDE_DIRECTORIES(
+include_directories(
${CMAKE_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/include
${CMAKE_SOURCE_DIR}/lib
@@ -35,11 +35,11 @@ INCLUDE_DIRECTORIES(
${Boost_INCLUDE_DIRS}
)
-ADD_EXECUTABLE(volk_profile
+add_executable(volk_profile
${CMAKE_CURRENT_SOURCE_DIR}/volk_profile.cc
${CMAKE_SOURCE_DIR}/lib/qa_utils.cc
)
-TARGET_LINK_LIBRARIES(volk_profile volk ${Boost_LIBRARIES})
+target_link_libraries(volk_profile volk ${Boost_LIBRARIES})
-ENDIF(Boost_FOUND AND UNIX)
+endif(Boost_FOUND AND UNIX)