add: simplify Windows PATH

This commit is contained in:
Qv2ray-dev 2020-06-25 20:59:24 +08:00
parent aece0f6650
commit 6b08fedbee
No known key found for this signature in database
GPG Key ID: E7FAEFAFCD031D4B
2 changed files with 2 additions and 2 deletions

View File

@ -349,7 +349,7 @@ if(WIN32)
endif()
add_custom_command(TARGET qv2ray POST_BUILD
COMMAND windeployqt ${CMAKE_BINARY_DIR}/qv2ray.exe --compiler-runtime --verbose 2 --dir ${CMAKE_BINARY_DIR}/winqt/
COMMAND ${Qt5_DIR}/../../../bin/windeployqt ${CMAKE_BINARY_DIR}/qv2ray.exe --compiler-runtime --verbose 2 --dir ${CMAKE_BINARY_DIR}/winqt/
)
install(DIRECTORY ${CMAKE_BINARY_DIR}/winqt/ DESTINATION .)
set(APPS "\${CMAKE_INSTALL_PREFIX}/qv2ray.exe")

View File

@ -1 +1 @@
5650
5651