Skip to content

Commit

Permalink
build: Install headers
Browse files Browse the repository at this point in the history
Reintroduce this feature after 99ec371

It was useful for debian packaging (iotjs-dev),
to match quality standards.

Email has been updated for community support

Relate-to: https://packages.qa.debian.org/i/iotjs.html
Fowarded: jerryscript-project#1896
Relate-to: jerryscript-project#1145
Change-Id: Idd9a18bbe692baeb468152df5149374512e9350b
Bug: jerryscript-project#1945
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval [email protected]
  • Loading branch information
rzr committed Jul 24, 2020
1 parent 979435e commit c4478e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/iotjs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,12 @@ set(IOTJS_PUBLIC_HEADERS
${LIBUV_HEADERS}
)

# Install headers
if("${INCLUDE_INSTALL_DIR}" STREQUAL "")
set(INCLUDE_INSTALL_DIR "include/iotjs")
endif()
install(FILES ${IOTJS_PUBLIC_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR})

# Configure the libiotjs
set(TARGET_LIB_IOTJS libiotjs)
if(CREATE_SHARED_LIB)
Expand Down

0 comments on commit c4478e2

Please sign in to comment.