mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-20 21:28:07 +00:00
Fix creation of shortcut to linphone.exe when building on Windows.
This commit is contained in:
parent
12278d9ab7
commit
40ee4028e0
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ if(LINPHONE_BUILDER_TARGET STREQUAL linphoneqt AND WIN32)
|
|||
set(SHORTCUT_PATH "${CMAKE_INSTALL_PREFIX}/linphone.lnk")
|
||||
set(SHORTCUT_TARGET_PATH "${CMAKE_INSTALL_PREFIX}/bin/linphone.exe")
|
||||
set(SHORTCUT_WORKING_DIRECTORY "${CMAKE_INSTALL_PREFIX}")
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/linphone_package/winshortcut.vbs.in" "${CMAKE_CURRENT_BINARY_DIR}/winshortcut.vbs" @ONLY)
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/linphone_package/winshortcut.vbs.in" "${CMAKE_CURRENT_BINARY_DIR}/winshortcut.vbs" @ONLY)
|
||||
add_custom_command(OUTPUT "${SHORTCUT_PATH}" COMMAND "cscript" "${CMAKE_CURRENT_BINARY_DIR}/winshortcut.vbs")
|
||||
add_custom_target(linphoneqt_winshortcut ALL DEPENDS "${SHORTCUT_PATH}" TARGET_linphone_builder)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 29ed124fdda3dbdc1a9bdaecd93949b460261a85
|
||||
Subproject commit a79e2826e056cc48b3b4d0eda4f38d82f124bb56
|
||||
Loading…
Add table
Reference in a new issue