From 8478cc9a51a95ae8eeb09d80017ed20d5743f423 Mon Sep 17 00:00:00 2001 From: Segwon Date: Thu, 16 Nov 2017 14:25:24 +0900 Subject: [PATCH] packaging: expose only peripheral_io.h(API) at devel rpm Signed-off-by: Segwon Change-Id: I39f1e6a90bd774a73a2508a43b8dffc8869d86a3 --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fd0979..68a4f6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,11 +76,7 @@ SET_TARGET_PROPERTIES(${fw_name} ) INSTALL(TARGETS ${fw_name} DESTINATION ${libdir}) -INSTALL( - DIRECTORY ${INC_DIR}/ DESTINATION include - FILES_MATCHING - PATTERN "${INC_DIR}/*.h" - ) +INSTALL(FILES ${INC_DIR}/peripheral_io.h DESTINATION include) SET(PC_NAME ${fw_name}) SET(PC_REQUIRED ${pc_dependents}) -- 2.34.1