[CMake] Add possibility to overwrite WEBKIT_PORT_DIR in platform specific files
[WebKit-https.git] / Source / CMakeLists.txt
index 51a66c3..ad1e96f 100644 (file)
@@ -45,6 +45,8 @@ IF (${RET} EQUAL -1)
     MESSAGE(FATAL_ERROR "Please choose which WebKit port to build (one of ${ALL_PORTS})")
 ENDIF ()
 
+STRING(TOLOWER ${PORT} WEBKIT_PORT_DIR)
+
 # -----------------------------------------------------------------------------
 # Find common packages (used by all ports)
 # -----------------------------------------------------------------------------