diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt index c7d432c..3c61fb0 100644 --- a/editor/CMakeLists.txt +++ b/editor/CMakeLists.txt @@ -98,14 +98,6 @@ add_custom_command( if (WIN32) #include("${QT_DEPLOY_SUPPORT}") - # TODO: Add other translations - add_custom_command( - TARGET editor POST_BUILD - COMMAND ${WINDEPLOYQT_EXECUTABLE} $ --translations en --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --plugindir $/qtplugins - ) - # No sense adding opengl-sw given that hardware acceleration is necessary, anyway - # Also don't want to clutter with plugins, add only needed ones - # Copy over QScintilla DLLs # TODO: Use a better approach? add_custom_command( @@ -113,6 +105,15 @@ if (WIN32) COMMAND ${CMAKE_COMMAND} -E copy ${QSCINTILLA_DLLS} $ ) + # TODO: Add other translations + add_custom_command( + TARGET editor POST_BUILD + COMMAND ${WINDEPLOYQT_EXECUTABLE} $ ${QSCINTILLA_DLLS} --dir $ --translations en --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --plugindir $/qtplugins + ) + # No sense adding opengl-sw given that hardware acceleration is necessary, anyway + # Also don't want to clutter with plugins, add only needed ones + + # Copy qt.conf to override default plugins location add_custom_command( TARGET editor POST_BUILD diff --git a/vcpkg.json b/vcpkg.json index 7d9516a..c375df5 100755 --- a/vcpkg.json +++ b/vcpkg.json @@ -8,7 +8,8 @@ "stb", "reactphysics3d", "pkgconf", - "luajit" + "luajit", + "freetype" ], "overrides": [ {