2011-02-06 Patrick Gansterer <paroga@webkit.org>
[WebKit-https.git] / Source / WebCore / CMakeLists.txt
index e3097f71f728e2e37cede4ae637845700c1d26f9..e7fb4c9211d8a41b15e1b9a25886cc57a2e416b2 100644 (file)
@@ -2250,6 +2250,7 @@ WEBKIT_WRAP_SOURCELIST(${WebCore_IDL_FILES} ${WebCore_SOURCES})
 ADD_DEFINITIONS(-DBUILDING_WebCore)
 INCLUDE_DIRECTORIES(${WebCore_INCLUDE_DIRECTORIES})
 ADD_LIBRARY(${WebCore_LIBRARY_NAME} ${WebCore_LIBRARY_TYPE} ${WebCore_SOURCES})
+ADD_DEPENDENCIES(${WebCore_LIBRARY_NAME} ${JavaScriptCore_LIBRARY_NAME})
 TARGET_LINK_LIBRARIES(${WebCore_LIBRARY_NAME} ${WebCore_LIBRARIES})
 
 IF (WebCore_LINK_FLAGS)