mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:39:00 +08:00
9574e60a26
* [libpcap] Fix pkgconfig libs and include path * [libpcap] use vcpkg_fixup_pkgconfig instead of homegrown * Update ports/libpcap/portfile.cmake * Update ports/libpcap/CONTROL * Update ports/libpcap/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
13 lines
532 B
Diff
13 lines
532 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 55b93f1..f4f9d51 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -2358,7 +2358,6 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pcap-namedb.h DESTINATION include)
|
|
# On UN*X, and on Windows when not using MSVC, generate libpcap.pc and
|
|
# pcap-config and process man pages and arrange that they be installed.
|
|
if(NOT MSVC)
|
|
- set(PACKAGE_NAME ${LIBRARY_NAME})
|
|
set(prefix ${CMAKE_INSTALL_PREFIX})
|
|
set(exec_prefix "\${prefix}")
|
|
set(includedir "\${prefix}/include")
|