I don't see a need to treat ipmap.html specially.
It's in the INSTALL_FILES list, and all of those end up being dropped into the run directory, so there's no need to copy it individually; all the data files, as enumerated in INSTALL_FILES, are expected to be in the same directory, whatever it is, and that's what happens to those files. Change-Id: I58df330c7d6886c87d91c0e0df73000c028fc312 Reviewed-on: https://code.wireshark.org/review/26088 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
ee2bfbf7b4
commit
b3bc6dcc02
|
@ -2248,17 +2248,6 @@ if(BUILD_wireshark AND QT_FOUND)
|
|||
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
if(NOT ENABLE_APPLICATION_BUNDLE)
|
||||
# Map for endpoints dialog
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET wireshark
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${PROJECT_SOURCE_DIR}/ipmap.html"
|
||||
$<TARGET_FILE_DIR:wireshark>
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32 AND Qt5Core_FOUND)
|
||||
# Use windeployqt to copy our required DLLs to the run path.
|
||||
# Ideally one of the modules in ${QTDIR}/lib/cmake would expose
|
||||
|
|
Loading…
Reference in New Issue