Follow up to r195361. Removing ios-simulator-wk2 fast/viewport/ios directory pass...
[WebKit-https.git] / Source / bmalloc / CMakeLists.txt
index 59a1a76..560737e 100644 (file)
@@ -7,6 +7,7 @@ set(bmalloc_SOURCES
     bmalloc/Cache.cpp
     bmalloc/Deallocator.cpp
     bmalloc/Environment.cpp
+    bmalloc/FreeList.cpp
     bmalloc/Heap.cpp
     bmalloc/ObjectType.cpp
     bmalloc/SegregatedFreeList.cpp
@@ -15,8 +16,14 @@ set(bmalloc_SOURCES
     bmalloc/mbmalloc.cpp
 )
 
+set(bmalloc_LIBRARIES
+    ${CMAKE_DL_LIBS}
+)
+
+WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
+
 WEBKIT_WRAP_SOURCELIST(${bmalloc_SOURCES})
 include_directories(${bmalloc_INCLUDE_DIRECTORIES})
-add_library(bmalloc ${bmalloc_SOURCES})
+add_library(bmalloc STATIC ${bmalloc_SOURCES})
 target_link_libraries(bmalloc ${bmalloc_LIBRARIES})
 set_target_properties(bmalloc PROPERTIES COMPILE_DEFINITIONS "BUILDING_bmalloc")