From 1ebfb3fc915a3006d6c78023950263e29357ecb0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 31 Jul 2014 14:17:07 -0700 Subject: [PATCH] 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 --- CMakeLists.txt | 7 +++++-- 1 file 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)