mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
fix macro mismatch
EMBED_TRANSLATIONS -> QV2RAY_EMBED_TRANSLATIONS linux/window install related
This commit is contained in:
parent
5d58eae740
commit
2c2fa688b0
@ -6,6 +6,6 @@ set(QV2RAY_ICON_DIMENSIONS 16 22 32 48 64 128 256 512 1024)
|
||||
foreach(ICON_DIMENSION ${QV2RAY_ICON_DIMENSIONS})
|
||||
install(FILES assets/icons/qv2ray.${ICON_DIMENSION}.png DESTINATION share/icons/hicolor/${ICON_DIMENSION}x${ICON_DIMENSION}/apps RENAME qv2ray.png)
|
||||
endforeach(ICON_DIMENSION)
|
||||
if(NOT EMBED_TRANSLATIONS)
|
||||
if(NOT QV2RAY_EMBED_TRANSLATIONS)
|
||||
install(FILES ${QM_FILES} DESTINATION share/qv2ray/lang)
|
||||
endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
find_package(OpenSSL REQUIRED)
|
||||
target_link_libraries(qv2ray-baselib wininet wsock32 ws2_32 user32 Iphlpapi OpenSSL::SSL OpenSSL::Crypto Dbghelp)
|
||||
install(TARGETS qv2ray RUNTIME DESTINATION .)
|
||||
if(NOT EMBED_TRANSLATIONS)
|
||||
if(NOT QV2RAY_EMBED_TRANSLATIONS)
|
||||
install(FILES ${QM_FILES} DESTINATION lang)
|
||||
endif()
|
||||
install(DIRECTORY ${CMAKE_BINARY_DIR}/winqt/ DESTINATION .)
|
||||
|
Loading…
Reference in New Issue
Block a user