Change-Id: I328c8adb166cd8c8c412263b74f1debca82a8785
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
libsyscommon
)
-INCLUDE_DIRECTORIES(include)
+SET(INC_DIR include)
+INCLUDE_DIRECTORIES(${INC_DIR})
INCLUDE(FindPkgConfig)
pkg_check_modules(${PROJECT_NAME} REQUIRED ${PKG_MODULES})
@ONLY
)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+INSTALL(
+ DIRECTORY ${INC_DIR}/ DESTINATION /usr/include/system
+ FILES_MATCHING PATTERN "cpu-boosting*.h")
ADD_SUBDIRECTORY(src/plugin)
ADD_SUBDIRECTORY(tests)
%license LICENSE.MIT
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-system-resource.so
+%{_includedir}/system/*.h
%files plugin
%manifest %{name}.manifest