diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-21 16:40:21 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-21 16:40:21 -0700 |
commit | a963caab9b6500ecef015fa5c514f2a7ae23046f (patch) | |
tree | bd9bb3dbc1bc1cf8b603b08228810dcb81b68262 /host/examples/CMakeLists.txt | |
parent | 3938de0cfedb4c4ca8b5fdb1ed7137ee32208648 (diff) | |
download | uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.tar.gz uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.tar.bz2 uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.zip |
uhd: setup cpack components for component based installers
Diffstat (limited to 'host/examples/CMakeLists.txt')
-rw-r--r-- | host/examples/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/CMakeLists.txt b/host/examples/CMakeLists.txt index 44ed55380..1bb037d16 100644 --- a/host/examples/CMakeLists.txt +++ b/host/examples/CMakeLists.txt @@ -37,7 +37,7 @@ FOREACH(example_source ${example_sources}) GET_FILENAME_COMPONENT(example_name ${example_source} NAME_WE) ADD_EXECUTABLE(${example_name} ${example_source}) TARGET_LINK_LIBRARIES(${example_name} uhd) - INSTALL(TARGETS ${example_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/examples) + INSTALL(TARGETS ${example_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/examples COMPONENT examples) ENDFOREACH(example_source) ######################################################################## @@ -49,5 +49,5 @@ IF(CURSES_FOUND) INCLUDE_DIRECTORIES(${CURSES_INCLUDE_DIR}) ADD_EXECUTABLE(rx_ascii_art_dft rx_ascii_art_dft.cpp) TARGET_LINK_LIBRARIES(rx_ascii_art_dft uhd ${CURSES_LIBRARIES}) - INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_DATA_DIR}/examples) + INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_DATA_DIR}/examples COMPONENT examples) ENDIF(CURSES_FOUND) |