CMake: Add support to optionally install the built JavaScript shell
[WebKit-https.git] / Source / CMakeLists.txt
index 93a0fdf..51a66c3 100644 (file)
@@ -139,6 +139,11 @@ IF (ENABLE_WEBKIT2)
 ENDIF ()
 
 # -----------------------------------------------------------------------------
+# Install JavaScript shell
+# -----------------------------------------------------------------------------
+OPTION(SHOULD_INSTALL_JS_SHELL "generate an installation rule to install the built JavaScript shell")
+
+# -----------------------------------------------------------------------------
 # Add test browser if exists
 # -----------------------------------------------------------------------------
 INCLUDE_IF_EXISTS(${TOOLS_DIR}/CMakeLists${PORT}.txt)