Skip to content

Commit 1855b93

Browse files
committed
build: Install static lib
installing the static lib will also install headers (Fixes: #1896). This is useful for debian's iotjs-dev package Change-Id: Ib9f6cb50631f4cdfeb308108f91ed28e7d204dc4 Forwarded: #1948 Origin: https://github.com/TizenTeam/iotjs/tree/sandbox/rzr/cmake/lib/review/master Bug: #1945 Bug-Debian: https://bugs.debian.org/957364 Relate-to: #1896 Last-Update: 2020-10-15 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval [email protected]
1 parent 7fdafb0 commit 1855b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/iotjs.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ if(NOT BUILD_LIB_ONLY)
580580
)
581581
target_include_directories(${TARGET_IOTJS} PRIVATE ${IOTJS_INCLUDE_DIRS})
582582
target_link_libraries(${TARGET_IOTJS} ${TARGET_LIB_IOTJS})
583-
install(TARGETS ${TARGET_IOTJS}
583+
install(TARGETS ${TARGET_IOTJS} ${TARGET_LIB_IOTJS}
584584
RUNTIME DESTINATION "${INSTALL_PREFIX}/bin"
585585
LIBRARY DESTINATION "${INSTALL_PREFIX}/lib"
586586
PUBLIC_HEADER DESTINATION "${INSTALL_PREFIX}/include/iotjs")

0 commit comments

Comments
 (0)