CMake: Fix extcap symlinks on macOS.

Change-Id: I39b1ad1114ba7c8932786aab633d9df133e7ef4d
Reviewed-on: https://code.wireshark.org/review/34496
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2019-09-10 11:14:10 -07:00
parent 0eecdf653e
commit ed4c62e3f7
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ macro(set_extcap_executable_properties _executable)
# target in the application bundle.
add_custom_target(${_executable}-symlink
COMMAND ln -s -f
Wireshark.app/Contents/MacOS/${_executable}
Wireshark.app/Contents/MacOS/extcap/${_executable}
${CMAKE_BINARY_DIR}/run/${_executable}
)
add_dependencies(${_executable} ${_executable}-symlink)