CMake: fix dmg_package target since CMake 3.12
The Resources directory was removed a while back. Since CMake 3.12, the copy_directory command will fail when the source directory is missing. Reported by anta_tw in the #wireshark IRC channel at Freenode. Change-Id: I4de087dd2833e79a806c8a0c9a28024848e1e03f Fixes: v2.1.0rc0-2347-g4aa049019a ("OS X: Remove GTK+ packaging.") Reviewed-on: https://code.wireshark.org/review/29304 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
267d0a3196
commit
b55c20a1b1
|
@ -2656,9 +2656,6 @@ if(ENABLE_APPLICATION_BUNDLE)
|
|||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${CMAKE_SOURCE_DIR}/packaging/macosx/ChmodBPF
|
||||
${CMAKE_BINARY_DIR}/run/ChmodBPF
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${CMAKE_SOURCE_DIR}/packaging/macosx/Resources
|
||||
${CMAKE_BINARY_DIR}/run/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${CMAKE_SOURCE_DIR}/packaging/macosx/Scripts
|
||||
${CMAKE_BINARY_DIR}/run/Scripts
|
||||
|
|
Loading…
Reference in New Issue