[CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2012 12:35:56 +0000 (12:35 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2012 12:35:56 +0000 (12:35 +0000)
.:

* Source/cmakeconfig.h.cmake:

Source/WTF:

* wtf/CMakeLists.txt:

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

ChangeLog
Source/WTF/ChangeLog
Source/WTF/wtf/CMakeLists.txt
Source/cmakeconfig.h.cmake

index dc7e200..a1f954f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
 
+        [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
+
+        * Source/cmakeconfig.h.cmake:
+
+2012-04-09  Patrick Gansterer  <paroga@webkit.org>
+
         [CMake] Share build system options across ports
         https://bugs.webkit.org/show_bug.cgi?id=72815
 
index 7b310f3..b5b2a43 100644 (file)
@@ -1,5 +1,11 @@
 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
 
+        [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
+
+        * wtf/CMakeLists.txt:
+
+2012-04-09  Patrick Gansterer  <paroga@webkit.org>
+
         Remove HAVE_STDINT_H
         https://bugs.webkit.org/show_bug.cgi?id=83434
 
index d316eaf..4411326 100644 (file)
@@ -193,9 +193,7 @@ SET(WTF_INCLUDE_DIRECTORIES
     "${CMAKE_BINARY_DIR}"
 )
 
-IF (USE_SYSTEM_MALLOC)
-    ADD_DEFINITIONS(-DUSE_SYSTEM_MALLOC=1)
-ELSE ()
+IF (NOT USE_SYSTEM_MALLOC)
     LIST(APPEND WTF_SOURCES
         TCSystemAlloc.cpp
     )
index ed2770b..180d57d 100644 (file)
@@ -68,5 +68,6 @@
 #cmakedefine01 ENABLE_WEB_TIMING
 #cmakedefine01 ENABLE_WORKERS
 #cmakedefine01 ENABLE_XSLT
+#cmakedefine01 USE_SYSTEM_MALLOC
 
 #endif /* CMAKECONFIG_H */