File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -580,16 +580,11 @@ if(NOT BUILD_LIB_ONLY)
580
580
)
581
581
target_include_directories (${TARGET_IOTJS} PRIVATE ${IOTJS_INCLUDE_DIRS} )
582
582
target_link_libraries (${TARGET_IOTJS} ${TARGET_LIB_IOTJS} )
583
- install (TARGETS ${TARGET_IOTJS}
583
+ install (TARGETS ${TARGET_IOTJS} ${TARGET_LIB_IOTJS}
584
584
RUNTIME DESTINATION "${INSTALL_PREFIX} /bin"
585
+ ARCHIVE DESTINATION "${INSTALL_PREFIX} /lib"
585
586
LIBRARY DESTINATION "${INSTALL_PREFIX} /lib"
586
587
PUBLIC_HEADER DESTINATION "${INSTALL_PREFIX} /include/iotjs" )
587
- if (CREATE_SHARED_LIB )
588
- install (TARGETS ${TARGET_LIB_IOTJS}
589
- RUNTIME DESTINATION "${INSTALL_PREFIX} /bin"
590
- LIBRARY DESTINATION "${INSTALL_PREFIX} /lib"
591
- PUBLIC_HEADER DESTINATION "${INSTALL_PREFIX} /include/iotjs" )
592
- endif ()
593
588
else ()
594
589
install (TARGETS ${TARGET_LIB_IOTJS} DESTINATION ${LIB_INSTALL_DIR} )
595
590
endif ()
You can’t perform that action at this time.
0 commit comments