aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-21 16:40:21 -0700
committerJosh Blum <josh@joshknows.com>2011-03-21 16:40:21 -0700
commita963caab9b6500ecef015fa5c514f2a7ae23046f (patch)
treebd9bb3dbc1bc1cf8b603b08228810dcb81b68262 /host/tests/CMakeLists.txt
parent3938de0cfedb4c4ca8b5fdb1ed7137ee32208648 (diff)
downloaduhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.tar.gz
uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.tar.bz2
uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.zip
uhd: setup cpack components for component based installers
Diffstat (limited to 'host/tests/CMakeLists.txt')
-rw-r--r--host/tests/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt
index 79b20cd47..821b2eb9e 100644
--- a/host/tests/CMakeLists.txt
+++ b/host/tests/CMakeLists.txt
@@ -44,7 +44,7 @@ FOREACH(test_source ${test_sources})
ADD_EXECUTABLE(${test_name} ${test_source})
TARGET_LINK_LIBRARIES(${test_name} uhd)
ADD_TEST(${test_name} ${test_name})
- INSTALL(TARGETS ${test_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/tests)
+ INSTALL(TARGETS ${test_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/tests COMPONENT tests)
ENDFOREACH(test_source)
########################################################################
@@ -52,7 +52,3 @@ ENDFOREACH(test_source)
########################################################################
ADD_LIBRARY(module_test MODULE module_test.cpp)
TARGET_LINK_LIBRARIES(module_test uhd)
-
-INSTALL(TARGETS
- RUNTIME DESTINATION ${PKG_DATA_DIR}/tests
-)