[CMake] Add WebKit::JavaScriptCore target
[WebKit-https.git] / Tools / TestWebKitAPI / PlatformGTK.cmake
index 821f363..ba90917 100644 (file)
@@ -105,7 +105,6 @@ set(TestJSC_PRIVATE_INCLUDE_DIRECTORIES
     ${GLIB_INCLUDE_DIRS}
     ${GTK3_INCLUDE_DIRS}
     ${THIRDPARTY_DIR}/gtest/include
-    ${JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS_DIR}
     ${FORWARDING_HEADERS_DIR}
     ${FORWARDING_HEADERS_DIR}/JavaScriptCore
     ${FORWARDING_HEADERS_DIR}/JavaScriptCore/glib
@@ -115,7 +114,7 @@ set(TestJSC_PRIVATE_INCLUDE_DIRECTORIES
 set(TestJSC_LIBRARIES
     ${GLIB_LIBRARIES}
     ${GLIB_GMODULE_LIBRARIES}
-    JavaScriptCore
+    WebKit::JavaScriptCore
 )
 
 set(TestJSC_DEFINITIONS