Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Windows|CMake|Fixed: Run windeployqt on the right executable
By default, windeployqt just seems to pick the first executable it finds,
which may not have all the required dependencies.
  • Loading branch information
skyjake committed Jul 31, 2015
1 parent a47acbf commit bc78235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/apps/client/CMakeLists.txt
Expand Up @@ -151,7 +151,7 @@ if (MSVC)
set (fn ${CMAKE_BINARY_DIR}/deployqt.bat)
file (WRITE ${fn}
"set PATH=\"${qtBins}\";%PATH%
\"${winDepCmd}\" -opengl --no-compiler-runtime --no-translations \"${DENG_VS_STAGING_DIR}/%1/bin\""
\"${winDepCmd}\" -opengl --no-compiler-runtime --no-translations \"${DENG_VS_STAGING_DIR}/%1/bin/doomsday.exe\""
)
add_custom_command (TARGET client POST_BUILD COMMAND ${fn} ${CMAKE_CFG_INTDIR})
endif ()
Expand Down

0 comments on commit bc78235

Please sign in to comment.