packaging: expose only peripheral_io.h(API) at devel rpm 09/160409/2
authorSegwon <segwon.han@samsung.com>
Thu, 16 Nov 2017 05:25:24 +0000 (14:25 +0900)
committerSegwon <segwon.han@samsung.com>
Thu, 16 Nov 2017 06:41:46 +0000 (15:41 +0900)
Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I39f1e6a90bd774a73a2508a43b8dffc8869d86a3

CMakeLists.txt

index 7fd0979..68a4f6a 100644 (file)
@@ -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})