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 [email protected]
This commit is contained in:
Akos Kiss authored and Tilmann Scheller committed 2016-09-09 13:32:36 +02:00
1 parent da02a37a02
commit 2e1c180658
4 files changed
+11

No files matched your search

+2
View File
@@ -80,3 +80,5 @@ endif()
set(JERRY_LIBS ${JERRY_LIBS} ${IMPORTED_LIB})
target_link_libraries(${JERRY_NAME} ${JERRY_LIBS})
install(TARGETS ${JERRY_NAME} DESTINATION bin)