forked from osmocom/wireshark
Distinguish between wireshark *source files* and wireshark *dependencies*.
Only the former should be run through checkAPI.pl; Windows .rc files, for example, shouldn't. Change-Id: I948705b4020b413834c37a0d685eedcb747aa237 Reviewed-on: https://code.wireshark.org/review/3303 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
cb960993d8
commit
1ebfb3fc91
|
@ -1025,7 +1025,7 @@ set(LIBEPAN_LIBS
|
||||||
)
|
)
|
||||||
|
|
||||||
if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) )
|
if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) )
|
||||||
set(wireshark_FILES
|
set(WIRESHARK_SRC
|
||||||
airpcap_loader.c
|
airpcap_loader.c
|
||||||
capture_info.c
|
capture_info.c
|
||||||
capture_opts.c
|
capture_opts.c
|
||||||
|
@ -1035,6 +1035,9 @@ if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) )
|
||||||
summary.c
|
summary.c
|
||||||
${SHARK_COMMON_SRC}
|
${SHARK_COMMON_SRC}
|
||||||
${PLATFORM_UI_SRC}
|
${PLATFORM_UI_SRC}
|
||||||
|
)
|
||||||
|
set(wireshark_FILES
|
||||||
|
${WIRESHARK_SRC}
|
||||||
image/wireshark.rc
|
image/wireshark.rc
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@ -1528,7 +1531,7 @@ install(
|
||||||
include( UseCheckAPI )
|
include( UseCheckAPI )
|
||||||
CHECKAPI(
|
CHECKAPI(
|
||||||
${TSHARK_TAP_SRC}
|
${TSHARK_TAP_SRC}
|
||||||
${wireshark_FILES}
|
${WIRESHARK_SRC}
|
||||||
)
|
)
|
||||||
|
|
||||||
if(DOC_DIR)
|
if(DOC_DIR)
|
||||||
|
|
Loading…
Reference in New Issue