Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

2011-03-21 Ryuan Choi <ryuan.choi@samsung.com>

        Reviewed by Antonio Gomes.

        [CMAKE] Add exception handling when PORT was missing.
        https://bugs.webkit.org/show_bug.cgi?id=56728

        * Source/CMakeLists.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
commit 13dee8ce21fb5e11e2484dfadca95f3d17df3e96 1 parent d501d3a
commit-queue@webkit.org authored
Showing with 16 additions and 2 deletions.
  1. +9 −0 ChangeLog
  2. +7 −2 Source/CMakeLists.txt
View
9 ChangeLog
@@ -1,3 +1,12 @@
+2011-03-21 Ryuan Choi <ryuan.choi@samsung.com>
+
+ Reviewed by Antonio Gomes.
+
+ [CMAKE] Add exception handling when PORT was missing.
+ https://bugs.webkit.org/show_bug.cgi?id=56728
+
+ * Source/CMakeLists.txt:
+
2011-03-10 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
Reviewed by Laszlo Gombos.
View
9 Source/CMakeLists.txt
@@ -23,8 +23,13 @@ INCLUDE(WebKitFeatures)
# -----------------------------------------------------------------------------
# Determine which port will be built
# -----------------------------------------------------------------------------
-SET(ALL_PORTS Efl)
-OPTION(PORT "choose which WebKit port to build (one of ${ALL_PORTS})" "NOPORT")
+SET(ALL_PORTS Efl WinCE)
+SET(PORT "NOPORT" CACHE STRING "choose which WebKit port to build (one of ${ALL_PORTS})")
+
+LIST(FIND ALL_PORTS ${PORT} RET)
+IF (${RET} EQUAL -1)
+ MESSAGE(FATAL_ERROR "Please choose which WebKit port to build (one of ${ALL_PORTS})")
+ENDIF ()
# -----------------------------------------------------------------------------
# Find common packages (used by all ports)
Please sign in to comment.
Something went wrong with that request. Please try again.