Unreviewed build fix for Visual Studio JSC-only build.
authoryoshiaki.jitsukawa@sony.com <yoshiaki.jitsukawa@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 May 2020 00:54:03 +0000 (00:54 +0000)
committeryoshiaki.jitsukawa@sony.com <yoshiaki.jitsukawa@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 May 2020 00:54:03 +0000 (00:54 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262090 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/TestWebKitAPI/PlatformPlayStation.cmake

index a4df197..d507e9b 100644 (file)
@@ -59,7 +59,13 @@ endif ()
 
 # Set the debugger working directory for Visual Studio
 if (${CMAKE_GENERATOR} MATCHES "Visual Studio")
-    set_target_properties(TestWTF TestWebCore TestWebKit PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
+    set_target_properties(TestWTF PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
+    if (ENABLE_WEBCORE)
+        set_target_properties(TestWebCore PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
+    endif ()
+    if (ENABLE_WEBCORE)
+        set_target_properties(TestWebKit PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
+    endif ()
 endif ()
 
 add_definitions(