diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-31 14:17:07 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-31 21:17:29 +0000 |
commit | 1ebfb3fc915a3006d6c78023950263e29357ecb0 (patch) | |
tree | 95c068a6996e6583169463388ce35a91b4ffbe33 /CMakeLists.txt | |
parent | cb960993d886b51e80715d9747c008ed656acfba (diff) |
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>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5727ab7924..815f308fd6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1025,7 +1025,7 @@ set(LIBEPAN_LIBS ) if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) ) - set(wireshark_FILES + set(WIRESHARK_SRC airpcap_loader.c capture_info.c capture_opts.c @@ -1035,6 +1035,9 @@ if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) ) summary.c ${SHARK_COMMON_SRC} ${PLATFORM_UI_SRC} + ) + set(wireshark_FILES + ${WIRESHARK_SRC} image/wireshark.rc ) endif() @@ -1528,7 +1531,7 @@ install( include( UseCheckAPI ) CHECKAPI( ${TSHARK_TAP_SRC} - ${wireshark_FILES} + ${WIRESHARK_SRC} ) if(DOC_DIR) |