unset(WERROR)
endif()
-if(CMAKE_COMPILER_IS_GNUCC)
+if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_CXX_COMPILER MATCHES ".*clang")
set (C_UNUSED "__attribute__((unused))" )
else()
set (C_UNUSED "" )
configure_file(${CMAKE_SOURCE_DIR}/cmakeconfig.h.in ${CMAKE_BINARY_DIR}/config.h)
+set( configure_input "Built with CMake ${CMAKE_VERSION}" )
+set( VERSION ${PROJECT_VERSION} )
+
+configure_file(
+ ${CMAKE_SOURCE_DIR}/packaging/macosx/Info.plist.in
+ ${CMAKE_SOURCE_DIR}/packaging/macosx/Info.plist
+ @ONLY)
+
include(FeatureSummary)
#SET_FEATURE_INFO(NAME DESCRIPTION [URL [COMMENT] ]
#FEATURE_SUMMARY(WHAT ALL) Requires removal of our local copy of FeatureSummary
)
set(text2pcap_CLEAN_FILES
text2pcap.c
+ pcapio.c
)
set(text2pcap_FILES
${text2pcap_CLEAN_FILES}