summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum2011-07-29 18:22:26 -0700
committerJosh Blum2011-07-29 18:24:13 -0700
commit609a0cbd99a04824e4e3ad9ca558102146bb9011 (patch)
tree8f971994f6ee0e376423a66c6512adb7cce92daf /CMakeLists.txt
parent8c824bf2e3e6758aff05ee4b5f4d3f106a13c672 (diff)
downloadgnuradio-609a0cbd99a04824e4e3ad9ca558102146bb9011.tar.gz
gnuradio-609a0cbd99a04824e4e3ad9ca558102146bb9011.tar.bz2
gnuradio-609a0cbd99a04824e4e3ad9ca558102146bb9011.zip
cmake: tweaks + fixes for components/packaging
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21c98d733..eb520bf56 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,6 +153,8 @@ SET(VOLK_INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}/volk/include
)
+IF(ENABLE_VOLK)
+
INCLUDE(GrPackage)
CPACK_SET(CPACK_COMPONENT_GROUP_VOLK_DESCRIPTION "Vector optimized library of kernels")
@@ -168,8 +170,8 @@ CPACK_COMPONENT("volk_devel"
DESCRIPTION "C++ headers, package config, import libraries"
)
-IF(ENABLE_VOLK)
- ADD_SUBDIRECTORY(volk)
+
+ADD_SUBDIRECTORY(volk)
ENDIF(ENABLE_VOLK)
########################################################################