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
@@ -208,3 +208,6 @@ endif()
|
||||
if (JERRY_LIBM)
|
||||
target_include_directories(${JERRY_CORE_NAME} SYSTEM PRIVATE "${CMAKE_SOURCE_DIR}/jerry-libm/include")
|
||||
endif()
|
||||
|
||||
install(TARGETS ${JERRY_CORE_NAME} DESTINATION lib)
|
||||
install(FILES jerry-api.h jerry-port.h DESTINATION include)
|
||||
|
||||
Reference in New Issue
Block a user