2011-07-01 Patrick Gansterer <paroga@webkit.org>
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2011 18:39:33 +0000 (18:39 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2011 18:39:33 +0000 (18:39 +0000)
        Reviewed by Daniel Bates.

        [CMake] Add cpu detection for MIPS
        https://bugs.webkit.org/show_bug.cgi?id=63693

        * Source/CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90251 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/CMakeLists.txt

index 9c39f13..481956c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-07-01  Patrick Gansterer  <paroga@webkit.org>
+
+        Reviewed by Daniel Bates.
+
+        [CMake] Add cpu detection for MIPS
+        https://bugs.webkit.org/show_bug.cgi?id=63693
+
+        * Source/CMakeLists.txt:
+
 2011-07-01  Joone Hur  <joone.hur@collabora.co.uk>
 
         Reviewed by Martin Robinson.
index e1dc761..26477d9 100644 (file)
@@ -60,6 +60,8 @@ FIND_PACKAGE(PythonInterp REQUIRED)
 STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR)
 IF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
     SET(WTF_CPU_ARM 1)
+ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
+    SET(WTF_CPU_MIPS 1)
 ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)")
     SET(WTF_CPU_X86_64 1)
 ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)")