@@ -22,7 +22,7 @@ set(SCRIPTS
2222 "Scripts/config.json" )
2323
2424if (APPLE )
25- find_library (JAVASCRIPTCORE_LIBRARY JavaScriptCore)
25+ find_library (JSCORE_LIBRARY JavaScriptCore)
2626 if (IOS)
2727 set (PLIST_FILE
2828 "${CMAKE_CURRENT_LIST_DIR} /iOS/Info.plist" )
@@ -54,7 +54,7 @@ if(APPLE)
5454 set_source_files_properties (${REFERENCE_IMAGES} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources/ReferenceImages" )
5555 endif ()
5656 set (ADDITIONAL_LIBRARIES ${ADDITIONAL_LIBRARIES}
57- PRIVATE ${JAVASCRIPTCORE_LIBRARY }
57+ PRIVATE ${JSCORE_LIBRARY }
5858 PRIVATE NativeCamera)
5959 set (RESOURCE_FILES ${STORYBOARD} )
6060elseif (UNIX )
@@ -115,6 +115,7 @@ target_include_directories(Playground PRIVATE "Source" ".")
115115target_link_to_dependencies(Playground
116116 PRIVATE AppRuntime
117117 PRIVATE Canvas
118+ PRIVATE ChromeDevTools
118119 PRIVATE Console
119120 PRIVATE GraphicsDevice
120121 PRIVATE NativeCapture
@@ -128,10 +129,10 @@ target_link_to_dependencies(Playground
128129 ${ADDITIONAL_LIBRARIES}
129130 ${BABYLON_NATIVE_PLAYGROUND_EXTENSION_LIBRARIES} )
130131
131- # See https://gitlab.kitware.com/cmake/cmake/-/issues/23543
132- # If we can set minimum required to 3.26+, then we can use the `copy -t` syntax instead.
133- add_custom_command ( TARGET Playground POST_BUILD
134- COMMAND ${CMAKE_COMMAND} -E $<IF:$< BOOL :$<TARGET_RUNTIME_DLLS:Playground>>,copy, true > $<TARGET_RUNTIME_DLLS:Playground> $<TARGET_FILE_DIR:Playground> )
132+ if ( WIN32 )
133+ target_link_to_dependencies(Playground
134+ PRIVATE "shlwapi.lib" )
135+ endif ( )
135136
136137if (UNIX AND NOT APPLE AND NOT ANDROID)
137138 # Ubuntu mixes old experimental header and new runtime libraries
@@ -175,7 +176,6 @@ if(APPLE)
175176 RESOURCE "${RESOURCE_FILES} "
176177 FOLDER "Playground" )
177178 endif ()
178- set_property (TARGET Playground PROPERTY UNITY_BUILD false )
179179endif ()
180180
181181if (WINDOWS_STORE)
0 commit comments