Enable make install (#1335)
With the new build system, the conventional `cmake && make` already works. However, the last step, i.e., `make install` was still missing (didn't work). This patch adds the `install()` commands to CMakeLists that are required to generate the `install` target in the Makefile. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
committed by
Tilmann Scheller
parent
da02a37a02
commit
2e1c180658
@@ -47,3 +47,6 @@ add_library(${JERRY_LIBC_NAME} STATIC ${SOURCE_LIBC} ${TARGET_SPECIFIC_LIBC_SOUR
|
||||
target_compile_definitions(${JERRY_LIBC_NAME} PRIVATE ${DEFINES_LIBC})
|
||||
target_include_directories(${JERRY_LIBC_NAME} PRIVATE ${INCLUDE_LIBC})
|
||||
target_include_directories(${JERRY_LIBC_NAME} SYSTEM PUBLIC "${CMAKE_SOURCE_DIR}/jerry-libc/include")
|
||||
|
||||
install(TARGETS ${JERRY_LIBC_NAME} DESTINATION lib)
|
||||
install(DIRECTORY ${INCLUDE_LIBC}/include/ DESTINATION include/jerry-libc)
|
||||
|
||||
Reference in New Issue
Block a user